36 #include "NonlinearElasticityTools.hpp"
38 template<
unsigned DIM>
43 std::vector<unsigned> fixed_nodes;
47 if ( fabs(rMesh.
GetNode(i)->rGetLocation()[component] - value)<1e-8)
49 fixed_nodes.push_back(i);
53 if (fixed_nodes.size() == 0)
55 EXCEPTION(
"Could not find any nodes on requested surface (note: tolerance = "<<tol<<
")");
Node< SPACE_DIM > * GetNode(unsigned index) const
#define EXCEPTION(message)
virtual unsigned GetNumNodes() const