36#ifndef AVERAGESOURCEPARABOLICPDE_HPP_
37#define AVERAGESOURCEPARABOLICPDE_HPP_
40#include <boost/serialization/base_object.hpp>
42#include "AbstractCellPopulation.hpp"
43#include "TetrahedralMesh.hpp"
44#include "AbstractLinearParabolicPde.hpp"
68 friend class TestCellBasedParabolicPdes;
80 template<
class Archive>
81 void serialize(Archive & archive,
const unsigned int version)
83 archive & boost::serialization::base_object<AbstractLinearParabolicPde<DIM, DIM> >(*this);
118 double duDtCoefficient=1.0,
119 double diffusionCoefficient=1.0,
120 double sourceCoefficient=0.0);
192namespace serialization
197template<
class Archive,
unsigned DIM>
198inline void save_construct_data(
203 ar & p_cell_population;
209template<
class Archive,
unsigned DIM>
210inline void load_construct_data(
215 ar >> p_cell_population;
gcov doesn't like this file...
#define EXPORT_TEMPLATE_CLASS_SAME_DIMS(CLASS)
std::vector< double > mCellDensityOnCoarseElements
AbstractCellPopulation< DIM, DIM > & mrCellPopulation
double mDiffusionCoefficient
virtual double ComputeSourceTermAtNode(const Node< DIM > &rNode, double u)
void serialize(Archive &archive, const unsigned int version)
double mSourceCoefficient
virtual double ComputeDuDtCoefficientFunction(const ChastePoint< DIM > &rX)
friend class boost::serialization::access
virtual c_matrix< double, DIM, DIM > ComputeDiffusionTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement=NULL)
double GetUptakeRateForElement(unsigned elementIndex)
const AbstractCellPopulation< DIM > & rGetCellPopulation() const
virtual void SetupSourceTerms(TetrahedralMesh< DIM, DIM > &rCoarseMesh, std::map< CellPtr, unsigned > *pCellPdeElementMap=nullptr)
virtual double ComputeSourceTerm(const ChastePoint< DIM > &rX, double u, Element< DIM, DIM > *pElement=NULL)