36 #include "CellwiseSourceEllipticPde.hpp" 38 template<
unsigned DIM>
40 : mrCellPopulation(rCellPopulation),
41 mSourceCoefficient(sourceCoefficient)
45 template<
unsigned DIM>
51 template<
unsigned DIM>
57 template<
unsigned DIM>
64 template<
unsigned DIM>
72 template<
unsigned DIM>
75 double source_coefficient = 0.0;
82 return source_coefficient;
85 template<
unsigned DIM>
88 return identity_matrix<double>(DIM);
virtual double ComputeLinearInUCoeffInSourceTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
double GetCoefficient() const
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)
virtual bool IsPdeNodeAssociatedWithNonApoptoticCell(unsigned pdeNodeIndex)
virtual double ComputeConstantInUSourceTerm(const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
unsigned GetIndex() const
virtual double ComputeLinearInUCoeffInSourceTermAtNode(const Node< DIM > &rNode)
double mSourceCoefficient