36 #ifndef TOROIDAL2DVERTEXMESH_HPP_
37 #define TOROIDAL2DVERTEXMESH_HPP_
40 #include <boost/serialization/base_object.hpp>
42 #include "MutableVertexMesh.hpp"
55 friend class TestToroidal2dVertexMesh;
83 template<
class Archive>
84 void serialize(Archive & archive,
const unsigned int version)
86 archive & boost::serialization::base_object<MutableVertexMesh<2,2> >(*this);
108 double cellRearrangementThreshold=0.01,
109 double t2Threshold=0.001);
132 c_vector<double, 2>
GetVectorFromAtoB(
const c_vector<double, 2>& rLocation1,
const c_vector<double, 2>& rLocation2);
154 double GetWidth(
const unsigned& rDimension)
const;
unsigned AddNode(Node< 2 > *pNewNode)
double GetWidth(const unsigned &rDimension) const
friend class boost::serialization::access
c_vector< double, 2 > GetVectorFromAtoB(const c_vector< double, 2 > &rLocation1, const c_vector< double, 2 > &rLocation2)
void ConstructFromMeshReader(AbstractMeshReader< 2, 2 > &rMeshReader, double width, double height)
VertexMesh< 2, 2 > * mpMeshForVtk
void serialize(Archive &archive, const unsigned int version)
void SetHeight(double height)
void SetNode(unsigned nodeIndex, ChastePoint< 2 > point)
void SetWidth(double width)
#define CHASTE_CLASS_EXPORT(T)
VertexMesh< 2, 2 > * GetMeshForVtk()
gcov doesn't like this file...