36 #ifndef CELLWISESOURCEPARABOLICPDE_HPP_ 37 #define CELLWISESOURCEPARABOLICPDE_HPP_ 40 #include <boost/serialization/base_object.hpp> 42 #include "AbstractCellPopulation.hpp" 43 #include "AbstractLinearParabolicPde.hpp" 62 template<
unsigned DIM>
65 friend class TestCellBasedParabolicPdes;
77 template<
class Archive>
78 void serialize(Archive & archive,
const unsigned int version)
80 archive & boost::serialization::base_object<AbstractLinearParabolicPde<DIM, DIM> >(*this);
111 double duDtCoefficient=1.0,
112 double diffusionCoefficient=1.0,
113 double sourceCoefficient=0.0);
171 namespace serialization
176 template<
class Archive,
unsigned DIM>
177 inline void save_construct_data(
182 ar & p_cell_population;
188 template<
class Archive,
unsigned DIM>
189 inline void load_construct_data(
194 ar >> p_cell_population;
friend class boost::serialization::access
double mDiffusionCoefficient
void serialize(Archive &archive, const unsigned int version)
AbstractCellPopulation< DIM, DIM > & mrCellPopulation
double mSourceCoefficient
const AbstractCellPopulation< DIM > & rGetCellPopulation() const
virtual double ComputeDuDtCoefficientFunction(const ChastePoint< DIM > &rX)
virtual double ComputeSourceTerm(const ChastePoint< DIM > &rX, double u, Element< DIM, DIM > *pElement=NULL)
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
virtual double ComputeSourceTermAtNode(const Node< DIM > &rNode, double u)
virtual c_matrix< double, DIM, DIM > ComputeDiffusionTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement=NULL)
CellwiseSourceParabolicPde(AbstractCellPopulation< DIM, DIM > &rCellPopulation, double duDtCoefficient=1.0, double diffusionCoefficient=1.0, double sourceCoefficient=0.0)
gcov doesn't like this file...