36 #ifndef CYLINDRICAL2DNODESONLYMESH_HPP_
37 #define CYLINDRICAL2DNODESONLYMESH_HPP_
40 #include <boost/serialization/base_object.hpp>
42 #include "NodesOnlyMesh.hpp"
60 friend class TestCylindrical2dNodesOnlyMesh;
75 template<
class Archive>
76 void serialize(Archive & archive,
const unsigned int version)
78 archive & boost::serialization::base_object<NodesOnlyMesh<2> >(*this);
99 virtual void SetUpBoxCollection(
double cutOffLength, c_vector<double, 2*2> domainSize,
int numLocalRows = PETSC_DECIDE,
bool isPeriodic =
true);
111 c_vector<double, 2>
GetVectorFromAtoB(
const c_vector<double, 2>& rLocation1,
const c_vector<double, 2>& rLocation2);
122 double GetWidth(
const unsigned& rDimension)
const;
155 namespace serialization
160 template<
class Archive>
161 inline void save_construct_data(
165 const double width = t->
GetWidth(0);
172 template<
class Archive>
173 inline void load_construct_data(
186 #include "SerializationExportWrapper.hpp"
friend class boost::serialization::access
void SetNode(unsigned nodeIndex, ChastePoint< 2 > point, bool concreteMove=false)
void serialize(Archive &archive, const unsigned int version)
unsigned AddNode(Node< 2 > *pNewNode)
virtual void SetUpBoxCollection(double cutOffLength, c_vector< double, 2 *2 > domainSize, int numLocalRows=PETSC_DECIDE, bool isPeriodic=true)
double GetWidth(const unsigned &rDimension) const
#define CHASTE_CLASS_EXPORT(T)
Cylindrical2dNodesOnlyMesh(double width)
c_vector< double, 2 > GetVectorFromAtoB(const c_vector< double, 2 > &rLocation1, const c_vector< double, 2 > &rLocation2)