35 #ifndef CYLINDRICAL2DMESH_HPP_
36 #define CYLINDRICAL2DMESH_HPP_
39 #include <boost/serialization/base_object.hpp>
44 #include "MutableMesh.hpp"
45 #include "TrianglesMeshWriter.hpp"
57 friend class TestCylindrical2dMesh;
208 template<
class Archive>
209 void serialize(Archive & archive,
const unsigned int version)
211 archive & boost::serialization::base_object<MutableMesh<2,2> >(*this);
262 c_vector<double, 2>
GetVectorFromAtoB(
const c_vector<double, 2>& rLocation1,
const c_vector<double, 2>& rLocation2);
285 double GetWidth(
const unsigned& rDimension)
const;
303 namespace serialization
308 template<
class Archive>
309 inline void save_construct_data(
313 const double width = t->
GetWidth(0);
320 template<
class Archive>
321 inline void load_construct_data(
334 #include "SerializationExportWrapper.hpp"
void SetNode(unsigned index, ChastePoint< 2 > point, bool concreteMove)
std::set< unsigned > mLeftPeriodicBoundaryElementIndices
std::vector< unsigned > mTopHaloNodes
unsigned GetCorrespondingNodeIndex(unsigned nodeIndex)
void UseTheseElementsToDecideMeshing(std::set< unsigned > &rMainSideElements)
bool mMismatchedBoundaryElements
std::vector< unsigned > mLeftOriginals
friend class boost::serialization::access
c_vector< double, 2 > GetVectorFromAtoB(const c_vector< double, 2 > &rLocation1, const c_vector< double, 2 > &rLocation2)
std::map< unsigned, unsigned > mImageToRightOriginalNodeMap
std::vector< unsigned > mRightOriginals
bool GetInstanceOfMismatchedBoundaryNodes()
void GenerateVectorsOfElementsStraddlingPeriodicBoundaries()
void UpdateTopAndBottom()
unsigned AddNode(Node< 2 > *pNewNode)
void serialize(Archive &archive, const unsigned int version)
std::vector< unsigned > mLeftImages
void CorrectNonPeriodicMesh()
std::vector< unsigned > mRightImages
#define CHASTE_CLASS_EXPORT(T)
Cylindrical2dMesh(double width)
std::set< unsigned > mRightPeriodicBoundaryElementIndices
std::map< unsigned, unsigned > mImageToLeftOriginalNodeMap
void ReconstructCylindricalMesh()
std::vector< unsigned > mBottomHaloNodes
double GetWidth(const unsigned &rDimension) const