36 #ifndef CELLWISESOURCEELLIPTICPDE_HPP_ 37 #define CELLWISESOURCEELLIPTICPDE_HPP_ 40 #include <boost/serialization/base_object.hpp> 42 #include "AbstractCellPopulation.hpp" 43 #include "AbstractLinearEllipticPde.hpp" 63 template<
unsigned DIM>
66 friend class TestCellBasedEllipticPdes;
78 template<
class Archive>
79 void serialize(Archive & archive,
const unsigned int version)
81 archive & boost::serialization::base_object<AbstractLinearEllipticPde<DIM, DIM> >(*this);
159 namespace serialization
164 template<
class Archive,
unsigned DIM>
165 inline void save_construct_data(
170 ar & p_cell_population;
176 template<
class Archive,
unsigned DIM>
177 inline void load_construct_data(
182 ar >> p_cell_population;
virtual double ComputeLinearInUCoeffInSourceTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
double GetCoefficient() const
friend class boost::serialization::access
CellwiseSourceEllipticPde(AbstractCellPopulation< DIM, DIM > &rCellPopulation, double sourceCoefficient=0.0)
AbstractCellPopulation< DIM, DIM > & mrCellPopulation
virtual c_matrix< double, DIM, DIM > ComputeDiffusionTerm(const ChastePoint< DIM > &rX)
const AbstractCellPopulation< DIM > & rGetCellPopulation() const
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
void serialize(Archive &archive, const unsigned int version)
virtual double ComputeConstantInUSourceTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
virtual double ComputeLinearInUCoeffInSourceTermAtNode(const Node< DIM > &rNode)
gcov doesn't like this file...
double mSourceCoefficient