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

Method getElementVolume

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

Source from the content-addressed store, hash-verified

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

Callers 15

getMassMatrixMethod · 0.45
getStiffnessMatrixMethod · 0.45
getLaplacianMatrixMethod · 0.45
getMassMatrixMethod · 0.45
getStiffnessMatrixMethod · 0.45
getLaplacianMatrixMethod · 0.45
integrate_funcMethod · 0.45
integrate_gradMethod · 0.45
integrate_grad_CMethod · 0.45
integrate_funcMethod · 0.45

Calls 1

get_attributeMethod · 0.45

Tested by 3

TEST_FFunction · 0.36