36#ifndef SPHEREGEOMETRYBOUNDARYCONDITION_HPP_
37#define SPHEREGEOMETRYBOUNDARYCONDITION_HPP_
39#include "AbstractCellPopulationBoundaryCondition.hpp"
42#include <boost/serialization/base_object.hpp>
43#include <boost/serialization/vector.hpp>
73 template<
class Archive>
74 void serialize(Archive & archive,
const unsigned int version)
76 archive & boost::serialization::base_object<AbstractCellPopulationBoundaryCondition<DIM> >(*this);
91 c_vector<double, DIM> centre,
93 double distance=1e-5);
137namespace serialization
142template<
class Archive,
unsigned DIM>
143inline void save_construct_data(
148 ar << p_cell_population;
151 c_vector<double, DIM> point = t->rGetCentreOfSphere();
152 for (
unsigned i=0; i<DIM; i++)
158 double radius = t->GetRadiusOfSphere();
165template<
class Archive,
unsigned DIM>
166inline void load_construct_data(
171 ar >> p_cell_population;
174 c_vector<double, DIM> point;
175 for (
unsigned i=0; i<DIM; i++)
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
void serialize(Archive &archive, const unsigned int version)
void ImposeBoundaryCondition(const std::map< Node< DIM > *, c_vector< double, DIM > > &rOldLocations)
void OutputCellPopulationBoundaryConditionParameters(out_stream &rParamsFile)
const c_vector< double, DIM > & rGetCentreOfSphere() const
bool VerifyBoundaryCondition()
friend class boost::serialization::access
c_vector< double, DIM > mCentreOfSphere
double GetRadiusOfSphere() const