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

Method check_mesh

tools/Assembler/Elements/EdgeElements.cpp:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void EdgeElements::check_mesh() {
62 if (m_mesh->get_num_faces() == 0) {
63 throw RuntimeError("Mesh contains no face!");
64 }
65}
66
67void EdgeElements::extract_boundary_edges() {
68 Boundary::Ptr boundary = Boundary::extract_surface_boundary(*m_mesh.get());

Callers

nothing calls this directly

Calls 2

RuntimeErrorClass · 0.85
get_num_facesMethod · 0.45

Tested by

no test coverage detected