MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNumberOfDOFNodes

Method GetNumberOfDOFNodes

Testing/GenericBridge/vtkBridgeCell.cxx:257–260  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Accumulated number of DOF nodes of the current cell. A DOF node is a component of cell with a given topological dimension. e.g.: a triangle has 7 DOF: 1 face, 3 edges, 3 vertices. An hexahedron has 27 DOF: 1 region, 6 faces, 12 edges, 8 vertices. \post valid_result: result==GetNumberOfBoundaries(-1)+1

Source from the content-addressed store, hash-verified

255// 1 region, 6 faces, 12 edges, 8 vertices.
256// \post valid_result: result==GetNumberOfBoundaries(-1)+1
257int vtkBridgeCell::GetNumberOfDOFNodes()
258{
259 return this->GetNumberOfBoundaries(-1) + 1;
260}
261
262//------------------------------------------------------------------------------
263// Description:

Callers

nothing calls this directly

Calls 1

GetNumberOfBoundariesMethod · 0.95

Tested by

no test coverage detected