36#ifndef _NODEATTRIBUTES_HPP_
37#define _NODEATTRIBUTES_HPP_
41#include <boost/serialization/vector.hpp>
46template<
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++)
bool GetNeighboursSetUp()
std::vector< double > & rGetAttributes()
c_vector< double, SPACE_DIM > mAppliedForce
void serialize(Archive &archive, const unsigned int version)
void SetRegion(unsigned region)
void RemoveDuplicateNeighbours()
void SetNeighboursSetUp(bool flag)
std::vector< unsigned > & rGetNeighbours()
void SetRadius(double radius)
void AddAttribute(double attribute)
std::vector< double > mAttributes
void AddAppliedForceContribution(const c_vector< double, SPACE_DIM > &rForceContribution)
void SetIsParticle(bool isParticle)
friend class boost::serialization::access
std::vector< unsigned > mNeighbourIndices
c_vector< double, SPACE_DIM > & rGetAppliedForce()
void AddNeighbour(unsigned index)