Wildmeshing Toolkit
test_component_regular_space.cpp File Reference
#include <catch2/catch_test_macros.hpp>
#include <nlohmann/json.hpp>
#include <tools/DEBUG_TetMesh.hpp>
#include <tools/DEBUG_TriMesh.hpp>
#include <tools/TetMesh_examples.hpp>
#include <tools/TriMesh_examples.hpp>
#include <wmtk/Mesh.hpp>
#include <wmtk/components/regular_space/internal/RegularSpace.hpp>
#include <wmtk/components/regular_space/internal/RegularSpaceOptions.hpp>
#include <wmtk/components/regular_space/regular_space.hpp>
#include <wmtk/io/ParaviewWriter.hpp>
#include <wmtk/utils/mesh_utils.hpp>
Include dependency graph for test_component_regular_space.cpp:

Go to the source code of this file.

Typedefs

using json = nlohmann::json
 

Functions

 TEST_CASE ("regular_space_file_reading", "[components][regular_space]")
 
 TEST_CASE ("regular_space_component_tri", "[components][regular_space][trimesh][2D][scheduler]")
 
 TEST_CASE ("regular_space_component_tet", "[components][regular_space][tetmesh][3D][scheduler][.]")
 

Variables

const std::filesystem::path data_dir = WMTK_DATA_DIR
 

Typedef Documentation

◆ json

using json = nlohmann::json

Definition at line 15 of file test_component_regular_space.cpp.

Function Documentation

◆ TEST_CASE() [1/3]

TEST_CASE ( "regular_space_component_tet"  ,
""  [components][regular_space][tetmesh][3D][scheduler][.] 
)

Definition at line 149 of file test_component_regular_space.cpp.

References data_dir, wmtk::Edge, wmtk::components::internal::RegularSpace::regularize_tags(), wmtk::attribute::Accessor< T, MeshType, Dim >::scalar_attribute(), and wmtk::Vertex.

Here is the call graph for this function:

◆ TEST_CASE() [2/3]

TEST_CASE ( "regular_space_component_tri"  ,
""  [components][regular_space][trimesh][2D][scheduler] 
)

Definition at line 37 of file test_component_regular_space.cpp.

References data_dir, wmtk::Edge, wmtk::components::internal::RegularSpace::regularize_tags(), wmtk::attribute::Accessor< T, MeshType, Dim >::scalar_attribute(), wmtk::Triangle, and wmtk::Vertex.

Here is the call graph for this function:

◆ TEST_CASE() [3/3]

TEST_CASE ( "regular_space_file_reading"  ,
""  [components][regular_space] 
)

Definition at line 20 of file test_component_regular_space.cpp.

Variable Documentation

◆ data_dir

const std::filesystem::path data_dir = WMTK_DATA_DIR

Definition at line 18 of file test_component_regular_space.cpp.

Referenced by TEST_CASE().