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"
56template<
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);
117namespace serialization
122template<
class Archive,
unsigned SPACE_DIM>
123inline void save_construct_data(
127 c_vector<double, SPACE_DIM> vector = t->rGetDivisionVector();
128 for (
unsigned i=0; i<SPACE_DIM; i++)
137template<
class Archive,
unsigned SPACE_DIM>
138inline void load_construct_data(
142 c_vector<double, SPACE_DIM> vector;
143 for (
unsigned i=0; i<SPACE_DIM; i++)
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
void serialize(Archive &archive, const unsigned int version)
virtual c_vector< double, SPACE_DIM > CalculateCellDivisionVector(CellPtr pParentCell, VertexBasedCellPopulation< SPACE_DIM > &rCellPopulation)
c_vector< double, SPACE_DIM > mDivisionVector
virtual ~FixedVertexBasedDivisionRule()
const c_vector< double, SPACE_DIM > & rGetDivisionVector() const