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, c_vector<bool,2> isDimPeriodic = unit_vector<bool>(2,0));
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;
155namespace serialization
160template<
class Archive>
161inline void save_construct_data(
165 const double width = t->GetWidth(0);
172template<
class Archive>
173inline void load_construct_data(
gcov doesn't like this file...
#define CHASTE_CLASS_EXPORT(T)
double GetWidth(const unsigned &rDimension) const
unsigned AddNode(Node< 2 > *pNewNode)
virtual void SetUpBoxCollection(double cutOffLength, c_vector< double, 2 *2 > domainSize, int numLocalRows=PETSC_DECIDE, c_vector< bool, 2 > isDimPeriodic=unit_vector< bool >(2, 0))
void serialize(Archive &archive, const unsigned int version)
void SetNode(unsigned nodeIndex, ChastePoint< 2 > point, bool concreteMove=false)
c_vector< double, 2 > GetVectorFromAtoB(const c_vector< double, 2 > &rLocation1, const c_vector< double, 2 > &rLocation2)
friend class boost::serialization::access