36 #ifndef PLANEBASEDCELLKILLER_HPP_
37 #define PLANEBASEDCELLKILLER_HPP_
39 #include "AbstractCellKiller.hpp"
42 #include <boost/serialization/base_object.hpp>
43 #include <boost/serialization/vector.hpp>
50 template<
unsigned DIM>
73 template<
class Archive>
74 void serialize(Archive & archive,
const unsigned int version)
76 archive & boost::serialization::base_object<AbstractCellKiller<DIM> >(*this);
89 c_vector<double, DIM> point,
90 c_vector<double, DIM> normal);
120 namespace serialization
125 template<
class Archive,
unsigned DIM>
126 inline void save_construct_data(
131 ar << p_cell_population;
135 for (
unsigned i=0; i<DIM; i++)
140 for (
unsigned i=0; i<DIM; i++)
149 template<
class Archive,
unsigned DIM>
150 inline void load_construct_data(
155 ar >> p_cell_population;
158 c_vector<double, DIM> point;
159 for (
unsigned i=0; i<DIM; i++)
163 c_vector<double, DIM> normal;
164 for (
unsigned i=0; i<DIM; i++)
virtual void CheckAndLabelCellsForApoptosisOrDeath()
c_vector< double, DIM > mPointOnPlane
void serialize(Archive &archive, const unsigned int version)
const c_vector< double, DIM > & rGetPointOnPlane() const
PlaneBasedCellKiller(AbstractCellPopulation< DIM > *pCellPopulation, c_vector< double, DIM > point, c_vector< double, DIM > normal)
const AbstractCellPopulation< SPACE_DIM > * GetCellPopulation() const
friend class boost::serialization::access
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
void OutputCellKillerParameters(out_stream &rParamsFile)
const c_vector< double, DIM > & rGetNormalToPlane() const
c_vector< double, DIM > mNormalToPlane