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

Method check_boundary_faces

tests/tools/Assembler/Mesh/BoundaryChecker.cpp:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void BoundaryChecker::check_boundary_faces(FEMeshPtr mesh) {
33 const size_t num_boundary_faces = mesh->getNbrBoundaryFaces();
34 for (size_t i=0; i<num_boundary_faces; i++) {
35 VectorI face = mesh->getBoundaryFace(i);
36 for (size_t j=0; j<face.size(); j++) {
37 ASSERT_TRUE(mesh->isBoundaryNode(face[j]));
38 }
39 }
40}

Callers

nothing calls this directly

Calls 4

getNbrBoundaryFacesMethod · 0.45
getBoundaryFaceMethod · 0.45
sizeMethod · 0.45
isBoundaryNodeMethod · 0.45

Tested by

no test coverage detected