36 #include "CellwiseSourceParabolicPde.hpp" 38 template<
unsigned DIM>
40 double duDtCoefficient,
41 double diffusionCoefficient,
42 double sourceCoefficient)
43 : mrCellPopulation(rCellPopulation),
44 mDuDtCoefficient(duDtCoefficient),
45 mDiffusionCoefficient(diffusionCoefficient),
46 mSourceCoefficient(sourceCoefficient)
50 template<
unsigned DIM>
56 template<
unsigned DIM>
63 template<
unsigned DIM>
71 template<
unsigned DIM>
74 double source_coefficient = 0.0;
82 return source_coefficient*u;
85 template<
unsigned DIM>
double mDiffusionCoefficient
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)
virtual bool IsPdeNodeAssociatedWithNonApoptoticCell(unsigned pdeNodeIndex)
unsigned GetIndex() const