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

Method load_mesh

tests/tools/Assembler/FESetting/FESettingTest.h:19–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 typedef FESetting::Ptr FESettingPtr;
18
19 virtual MeshPtr load_mesh(const std::string& filename) {
20 std::string mesh_file = m_data_dir + filename;
21 return MeshFactory()
22 .load_file(mesh_file)
23 .with_connectivity("all")
24 .with_attribute("face_normal")
25 .with_attribute("vertex_normal")
26 .with_attribute("face_area")
27 .with_attribute("voxel_volume")
28 .create();
29 }
30};
31
32TEST_F(FESettingTest, Creation) {

Callers

nothing calls this directly

Calls 4

with_connectivityMethod · 0.80
MeshFactoryClass · 0.50
createMethod · 0.45
with_attributeMethod · 0.45

Tested by

no test coverage detected