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

Method check_areas

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

Source from the content-addressed store, hash-verified

24}
25
26void MiscChecker::check_areas(FEMeshPtr mesh) {
27 const size_t num_bd_faces = mesh->getNbrBoundaryFaces();
28 for (size_t i=0; i<num_bd_faces; i++) {
29 Float area = mesh->getBoundaryFaceArea(i);
30 ASSERT_GT(area, 0.0);
31 }
32}

Callers

nothing calls this directly

Calls 2

getNbrBoundaryFacesMethod · 0.45
getBoundaryFaceAreaMethod · 0.45

Tested by

no test coverage detected