36 #ifndef FIXEDVERTEXBASEDDIVISIONRULE_HPP_ 37 #define FIXEDVERTEXBASEDDIVISIONRULE_HPP_ 40 #include <boost/serialization/base_object.hpp> 41 #include <boost/serialization/vector.hpp> 43 #include "AbstractVertexBasedDivisionRule.hpp" 44 #include "VertexBasedCellPopulation.hpp" 56 template<
unsigned SPACE_DIM>
67 friend class boost::serialization::access;
74 template<
class Archive>
75 void serialize(Archive & archive,
const unsigned int version)
77 archive & boost::serialization::base_object<AbstractVertexBasedDivisionRule<SPACE_DIM> >(*this);
117 namespace serialization
122 template<
class Archive,
unsigned SPACE_DIM>
123 inline void save_construct_data(
128 for (
unsigned i=0; i<SPACE_DIM; i++)
137 template<
class Archive,
unsigned SPACE_DIM>
138 inline void load_construct_data(
142 c_vector<double, SPACE_DIM> vector;
143 for (
unsigned i=0; i<SPACE_DIM; i++)
154 #endif // FIXEDVERTEXBASEDDIVISIONRULE_HPP_ virtual c_vector< double, SPACE_DIM > CalculateCellDivisionVector(CellPtr pParentCell, VertexBasedCellPopulation< SPACE_DIM > &rCellPopulation)
FixedVertexBasedDivisionRule(c_vector< double, SPACE_DIM > &rDivisionVector)
virtual ~FixedVertexBasedDivisionRule()
void serialize(Archive &archive, const unsigned int version)
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
const c_vector< double, SPACE_DIM > & rGetDivisionVector() const
c_vector< double, SPACE_DIM > mDivisionVector
gcov doesn't like this file...