36 #ifndef _NODEATTRIBUTES_HPP_
37 #define _NODEATTRIBUTES_HPP_
41 #include <boost/serialization/vector.hpp>
46 template<
unsigned SPACE_DIM>
81 template<
class Archive>
82 void serialize(Archive & archive,
const unsigned int version)
91 for (
unsigned d = 0; d < SPACE_DIM; d++)
218 #endif //_NODEATTRIBUTES_HPP_
void SetRegion(unsigned region)
void RemoveDuplicateNeighbours()
void SetRadius(double radius)
std::vector< unsigned > mNeighbourIndices
void SetNeighboursSetUp(bool flag)
void SetIsParticle(bool isParticle)
void serialize(Archive &archive, const unsigned int version)
void AddAttribute(double attribute)
c_vector< double, SPACE_DIM > & rGetAppliedForce()
std::vector< double > mAttributes
std::vector< unsigned > & rGetNeighbours()
friend class boost::serialization::access
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)