Chaste  Release::3.4
NonlinearElasticityTools< DIM > Class Template Reference

#include <NonlinearElasticityTools.hpp>

+ Collaboration diagram for NonlinearElasticityTools< DIM >:

Static Public Member Functions

static std::vector< unsignedGetNodesByComponentValue (TetrahedralMesh< DIM, DIM > &rMesh, unsigned component, double value)
 

Detailed Description

template<unsigned DIM>
class NonlinearElasticityTools< DIM >

A class of helper methods for problems which use NonlinearElasticitySolver.

Definition at line 45 of file NonlinearElasticityTools.hpp.

Member Function Documentation

template<unsigned DIM>
std::vector< unsigned > NonlinearElasticityTools< DIM >::GetNodesByComponentValue ( TetrahedralMesh< DIM, DIM > &  rMesh,
unsigned  component,
double  value 
)
static
Returns
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.
Parameters
rMeshthe mesh
componentthe component k
valuethe value c

Definition at line 39 of file NonlinearElasticityTools.cpp.

References EXCEPTION, AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNode(), and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes().


The documentation for this class was generated from the following files: