36#include "NonlinearElasticityTools.hpp"
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<<
")");
#define EXCEPTION(message)
virtual unsigned GetNumNodes() const
Node< SPACE_DIM > * GetNode(unsigned index) const