36 #ifndef CELLWISESOURCEPDE_HPP_
37 #define CELLWISESOURCEPDE_HPP_
40 #include <boost/serialization/base_object.hpp>
42 #include "AbstractCellPopulation.hpp"
43 #include "AbstractLinearEllipticPde.hpp"
48 template<
unsigned DIM>
51 friend class TestCellBasedPdes;
63 template<
class Archive>
64 void serialize(Archive & archive,
const unsigned int version)
66 archive & boost::serialization::base_object<AbstractLinearEllipticPde<DIM, DIM> >(*this);
144 namespace serialization
149 template<
class Archive,
unsigned DIM>
150 inline void save_construct_data(
155 ar & p_cell_population;
161 template<
class Archive,
unsigned DIM>
162 inline void load_construct_data(
167 ar >> p_cell_population;
friend class boost::serialization::access
void serialize(Archive &archive, const unsigned int version)
const AbstractCellPopulation< DIM > & rGetCellPopulation() const
double GetCoefficient() const
virtual double ComputeLinearInUCoeffInSourceTermAtNode(const Node< DIM > &rNode)
virtual double ComputeConstantInUSourceTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
virtual double ComputeLinearInUCoeffInSourceTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
virtual c_matrix< double, DIM, DIM > ComputeDiffusionTerm(const ChastePoint< DIM > &rX)
CellwiseSourcePde(AbstractCellPopulation< DIM, DIM > &rCellPopulation, double coefficient=0.0)
AbstractCellPopulation< DIM, DIM > & mrCellPopulation