37#ifndef _CHASTEPOINT_HPP_
38#define _CHASTEPOINT_HPP_
59 template<
class Archive>
60 void serialize(Archive & archive,
const unsigned int version)
152namespace serialization
155template<
class Archive,
unsigned SPACE_DIM>
156inline void save_construct_data(
159 for (
unsigned i = 0; i < SPACE_DIM; i ++)
163 double coord = t->GetWithDefault(i);
172template<
class Archive,
unsigned SPACE_DIM>
173inline void load_construct_data(
176 std::vector<double> coords;
177 coords.resize(SPACE_DIM);
178 for (
unsigned i=0; i<SPACE_DIM; i++)
182 coords[i] = coordinate;
208 ChastePoint(
double v1=0,
double v2=0,
double v3=0);
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
c_vector< double, DIM > mLocation
void serialize(Archive &archive, const unsigned int version)
c_vector< double, DIM > & rGetLocation()
double operator[](unsigned i) const
bool IsSamePoint(const ChastePoint< DIM > &rPoint) const
friend class boost::serialization::access
double GetWithDefault(unsigned i, double def=0.0) const
void SetCoordinate(unsigned i, double value)