36 #ifndef FIXEDCENTREBASEDDIVISIONRULE_HPP_ 37 #define FIXEDCENTREBASEDDIVISIONRULE_HPP_ 40 #include <boost/serialization/base_object.hpp> 41 #include <boost/serialization/vector.hpp> 43 #include "AbstractCentreBasedDivisionRule.hpp" 44 #include "AbstractCentreBasedCellPopulation.hpp" 58 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM=ELEMENT_DIM>
69 friend class boost::serialization::access;
76 template<
class Archive>
77 void serialize(Archive & archive,
const unsigned int version)
79 archive & boost::serialization::base_object<AbstractCentreBasedDivisionRule<ELEMENT_DIM, SPACE_DIM> >(*this);
120 namespace serialization
125 template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
126 inline void save_construct_data(
131 for (
unsigned i=0; i<SPACE_DIM; i++)
140 template<
class Archive,
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
141 inline void load_construct_data(
145 c_vector<double, SPACE_DIM> location;
146 for (
unsigned i=0; i<SPACE_DIM; i++)
157 #endif // FIXEDCENTREBASEDDIVISIONRULE_HPP_
void serialize(Archive &archive, const unsigned int version)
virtual ~FixedCentreBasedDivisionRule()
#define EXPORT_TEMPLATE_CLASS_ALL_DIMS(CLASS)
virtual std::pair< c_vector< double, SPACE_DIM >, c_vector< double, SPACE_DIM > > CalculateCellDivisionVector(CellPtr pParentCell, AbstractCentreBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > &rCellPopulation)
const c_vector< double, SPACE_DIM > & rGetDaughterLocation() const
gcov doesn't like this file...
FixedCentreBasedDivisionRule(c_vector< double, SPACE_DIM > &rDaughterLocation)
c_vector< double, SPACE_DIM > mDaughterLocation