36 #include "ChasteNodesList.hpp"
38 template <
unsigned SPACE_DIM>
40 : mListOfNodes(rNodesList),
45 template <
unsigned SPACE_DIM>
50 for (
unsigned i=0; i<mListOfNodes.size(); i++)
52 delete mListOfNodes[i];
57 template <
unsigned SPACE_DIM>
60 bool returned_value =
false;
61 for (
unsigned index = 0; index < mListOfNodes.size(); index++)
63 if (mListOfNodes[index]->GetPoint().IsSamePoint(rPointToCheck))
65 returned_value =
true;
70 return returned_value;
73 template <
unsigned SPACE_DIM>
79 template <
unsigned SPACE_DIM>
82 return mListOfNodes.size();
ChasteNodesList(const std::vector< Node< SPACE_DIM > * > rNodesList, bool ownNodes=false)
bool DoesContain(const ChastePoint< SPACE_DIM > &rPointToCheck) const
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
const std::vector< Node< SPACE_DIM > * > & rGetNodesList() const