MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / SetUp

Method SetUp

tests/tools/Assembler/Mesh/TriangleMeshTest.h:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 protected:
19 typedef std::shared_ptr<FEMeshAdaptor> FEMeshPtr;
20 virtual void SetUp() {
21 TestBase::SetUp();
22
23 m_cube_tri = load_mesh("cube.obj");
24 m_cube_tet = load_mesh("cube.msh");
25 m_square = load_mesh("square_2D.obj");
26 }
27
28 virtual MeshPtr load_mesh(const std::string& filename) {
29 std::string mesh_file = m_data_dir + filename;

Callers

nothing calls this directly

Calls 1

load_meshFunction · 0.85

Tested by

no test coverage detected