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>
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);
120namespace serialization
125template<
class Archive,
unsigned DIM>
126inline void save_construct_data(
131 ar << p_cell_population;
134 c_vector<double, DIM> point = t->rGetPointOnPlane();
135 for (
unsigned i=0; i<DIM; i++)
139 c_vector<double, DIM> normal = t->rGetNormalToPlane();
140 for (
unsigned i=0; i<DIM; i++)
149template<
class Archive,
unsigned DIM>
150inline 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++)
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
void serialize(Archive &archive, const unsigned int version)
void OutputCellKillerParameters(out_stream &rParamsFile)
const c_vector< double, DIM > & rGetNormalToPlane() const
c_vector< double, DIM > mNormalToPlane
const c_vector< double, DIM > & rGetPointOnPlane() const
friend class boost::serialization::access
c_vector< double, DIM > mPointOnPlane
virtual void CheckAndLabelCellsForApoptosisOrDeath()