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;
214 template<
class Archive>
215 void serialize(Archive & archive,
const unsigned int version)
217 archive & boost::serialization::base_object<MutableMesh<2,2> >(*this);
270 c_vector<double, 2>
GetVectorFromAtoB(
const c_vector<double, 2>& rLocation1,
const c_vector<double, 2>& rLocation2);
293 double GetWidth(
const unsigned& rDimension)
const;
336namespace serialization
341template<
class Archive>
342inline void save_construct_data(
346 const double width = t->GetWidth(0);
353template<
class Archive>
354inline void load_construct_data(
gcov doesn't like this file...
#define CHASTE_CLASS_EXPORT(T)
void ReconstructCylindricalMesh()
std::vector< unsigned > mLeftImages
unsigned AddNode(Node< 2 > *pNewNode)
unsigned GetCorrespondingNodeIndex(unsigned nodeIndex)
std::vector< unsigned > mRightImages
std::map< unsigned, unsigned > mImageToLeftOriginalNodeMap
void CorrectNonPeriodicMesh()
double GetWidth(const unsigned &rDimension) const
bool GetInstanceOfMismatchedBoundaryNodes()
void GenerateVectorsOfElementsStraddlingPeriodicBoundaries()
double GetHaloOffset() const
c_vector< double, 2 > GetVectorFromAtoB(const c_vector< double, 2 > &rLocation1, const c_vector< double, 2 > &rLocation2)
std::map< unsigned, unsigned > mImageToRightOriginalNodeMap
void SetHaloOffset(double haloOffset)
void SetHaloScalingFactor(double haloScalingFactor)
std::vector< unsigned > mTopHaloNodes
double GetHaloScalingFactor() const
void SetNode(unsigned index, ChastePoint< 2 > point, bool concreteMove)
void serialize(Archive &archive, const unsigned int version)
std::vector< unsigned > mRightOriginals
std::vector< unsigned > mLeftOriginals
friend class boost::serialization::access
std::vector< unsigned > mBottomHaloNodes
std::set< unsigned > mRightPeriodicBoundaryElementIndices
double mHaloScalingFactor
std::set< unsigned > mLeftPeriodicBoundaryElementIndices
bool mMismatchedBoundaryElements
void UseTheseElementsToDecideMeshing(std::set< unsigned > &rMainSideElements)
void UpdateTopAndBottom()