NonlinearElasticityTools< DIM > Class Template Reference

#include <NonlinearElasticityTools.hpp>

List of all members.

Static Public Member Functions

static std::vector< unsigned > GetNodesByComponentValue (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 38 of file NonlinearElasticityTools.hpp.


Member Function Documentation

template<unsigned DIM>
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.

Parameters:
rMesh the mesh
component the component k
value the value c

Definition at line 31 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:

Generated on Mon Nov 1 12:37:10 2010 for Chaste by  doxygen 1.5.5