38 #include "NodeAttributes.hpp" 41 template<
unsigned SPACE_DIM>
45 mAppliedForce(zero_vector<
double>(SPACE_DIM)),
48 mNeighboursSetUp(false),
53 template<
unsigned SPACE_DIM>
59 template<
unsigned SPACE_DIM>
65 template<
unsigned SPACE_DIM>
71 template<
unsigned SPACE_DIM>
77 template<
unsigned SPACE_DIM>
83 template<
unsigned SPACE_DIM>
89 template<
unsigned SPACE_DIM>
92 for (
unsigned d = 0; d < SPACE_DIM; d++)
98 template<
unsigned SPACE_DIM>
104 template<
unsigned SPACE_DIM>
110 template<
unsigned SPACE_DIM>
117 template<
unsigned SPACE_DIM>
123 template<
unsigned SPACE_DIM>
129 template<
unsigned SPACE_DIM>
135 template<
unsigned SPACE_DIM>
142 template<
unsigned SPACE_DIM>
148 template<
unsigned SPACE_DIM>
154 template<
unsigned SPACE_DIM>
160 template<
unsigned SPACE_DIM>
165 EXCEPTION(
"Trying to set node attributes mRadius to a negative value.");
void SetRegion(unsigned region)
void RemoveDuplicateNeighbours()
#define EXCEPTION(message)
void SetRadius(double radius)
std::vector< unsigned > mNeighbourIndices
void SetNeighboursSetUp(bool flag)
void SetIsParticle(bool isParticle)
void AddAttribute(double attribute)
c_vector< double, SPACE_DIM > & rGetAppliedForce()
std::vector< double > mAttributes
std::vector< unsigned > & rGetNeighbours()
std::vector< double > & rGetAttributes()
bool GetNeighboursSetUp()
void AddNeighbour(unsigned index)
c_vector< double, SPACE_DIM > mAppliedForce
void AddAppliedForceContribution(const c_vector< double, SPACE_DIM > &rForceContribution)