36#ifndef CELLWISESOURCEPARABOLICPDE_HPP_
37#define CELLWISESOURCEPARABOLICPDE_HPP_
40#include <boost/serialization/base_object.hpp>
42#include "AbstractCellPopulation.hpp"
43#include "AbstractLinearParabolicPde.hpp"
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);
78 void serialize(Archive & archive,
const unsigned int version) {
…}
122 double constantSourceCoefficient=0.0,
123 double linearSourceCoefficient=0.0,
124 double diffusionCoefficient=1.0,
125 double duDtCoefficient=1.0,
126 bool scaleByCellVolume=
false);
209namespace serialization
214template<
class Archive,
unsigned DIM>
215inline void save_construct_data(
220 ar & p_cell_population;
226template<
class Archive,
unsigned DIM>
227inline void load_construct_data(
232 ar >> p_cell_population;
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
void serialize(Archive &archive, const unsigned int version)
double ComputeDuDtCoefficientFunction(const ChastePoint< DIM > &rX) override
double GetDuDtCoefficient() const
double mConstantSourceCoefficient
bool GetScaleByCellVolume() const
AbstractCellPopulation< DIM, DIM > & mrCellPopulation
double mLinearSourceCoefficient
const AbstractCellPopulation< DIM > & rGetCellPopulation() const
double ComputeSourceTerm(const ChastePoint< DIM > &rX, double u, Element< DIM, DIM > *pElement) override
double mDiffusionCoefficient
double GetConstantCoefficient() const
c_matrix< double, DIM, DIM > ComputeDiffusionTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement=nullptr) override
friend class boost::serialization::access
double ComputeSourceTermAtNode(const Node< DIM > &rNode, double u) override
double GetLinearCoefficient() const
double GetDiffusionCoefficient() const