Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyMesh/PyMesh
/ getNbrElements
Method
getNbrElements
tools/Assembler/Mesh/TriangleMesh.cpp:55–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
53
}
54
55
size_t TriangleMesh::getNbrElements() const {
56
return m_mesh->get_num_faces();
57
}
58
59
size_t TriangleMesh::getNodePerElement() const {
60
assert(m_mesh->get_vertex_per_face() == 3);
Callers
15
getDivergence
Method · 0.45
getCurlNorm
Method · 0.45
precomputeShapeFunctionDerivatives
Method · 0.45
getMassMatrix
Method · 0.45
getStiffnessMatrix
Method · 0.45
getLaplacianMatrix
Method · 0.45
getDisplacementStrainMatrix
Method · 0.45
getStrainStressMatrix
Method · 0.45
precomputeShapeFunctionDerivatives
Method · 0.45
getMassMatrix
Method · 0.45
getStiffnessMatrix
Method · 0.45
getLaplacianMatrix
Method · 0.45
Calls
1
get_num_faces
Method · 0.45
Tested by
5
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36