#include <NonlinearElasticityTools.hpp>
Static Public Member Functions | |
static std::vector< unsigned > | GetNodesByComponentValue (TetrahedralMesh< DIM, DIM > &rMesh, unsigned component, double value) |
A class of helper methods for problems which use NonlinearElasticityAssembler.
Definition at line 38 of file NonlinearElasticityTools.hpp.
std::vector< unsigned > NonlinearElasticityTools< DIM >::GetNodesByComponentValue | ( | TetrahedralMesh< DIM, DIM > & | rMesh, | |
unsigned | component, | |||
double | value | |||
) | [inline, static] |
Collect all the nodes which satisfy x[k] = c, for given k and c, in order to be set as fixed (or displacement boundary condition) nodes. Note that this method does not check if the nodes on the required surface are actually boundary nodes. It does however throw an exception if no nodes on the given surface are found.
rMesh | the mesh | |
component | the component k | |
value | the value c |
Definition at line 31 of file NonlinearElasticityTools.cpp.
References AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNode(), and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes().