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

Method getElementVolume

tools/Assembler/Mesh/TetrahedronMesh.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82Float TetrahedronMesh::getElementVolume(size_t ei) const {
83 assert(ei < getNbrElements());
84 return m_mesh->get_attribute("voxel_volume")[ei];
85}
86
87bool TetrahedronMesh::isBoundaryElement(size_t ei) const {
88 assert(ei < getNbrElements());

Callers

nothing calls this directly

Calls 1

get_attributeMethod · 0.45

Tested by

no test coverage detected