#include <CellwiseSourcePde.hpp>
Inherits AbstractLinearEllipticPde< DIM, DIM >.
Public Member Functions | |
CellwiseSourcePde (MeshBasedCellPopulation< DIM > &rCellPopulation, double coefficient=0.0) | |
const MeshBasedCellPopulation < DIM > & | rGetCellPopulation () const |
double | GetCoefficient () const |
double | ComputeConstantInUSourceTerm (const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement) |
double | ComputeLinearInUCoeffInSourceTerm (const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement) |
double | ComputeLinearInUCoeffInSourceTermAtNode (const Node< DIM > &rNode) |
c_matrix< double, DIM, DIM > | ComputeDiffusionTerm (const ChastePoint< DIM > &rX) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
MeshBasedCellPopulation< DIM > & | mrCellPopulation |
double | mCoefficient |
Friends | |
class | TestCellBasedPdes |
class | boost::serialization::access |
A PDE which has a source at each non-apoptotic cell.
Definition at line 42 of file CellwiseSourcePde.hpp.
CellwiseSourcePde< DIM >::CellwiseSourcePde | ( | MeshBasedCellPopulation< DIM > & | rCellPopulation, | |
double | coefficient = 0.0 | |||
) | [inline] |
Constructor.
rCellPopulation | reference to the cell population | |
coefficient | the coefficient of consumption of nutrient by cells (defaults to 0.0) |
Definition at line 34 of file CellwiseSourcePde.cpp.
double CellwiseSourcePde< DIM >::ComputeConstantInUSourceTerm | ( | const ChastePoint< DIM > & | rX, | |
Element< DIM, DIM > * | pElement | |||
) | [inline] |
Overridden ComputeConstantInUSourceTerm() method.
rX | The point in space | |
pElement | The element |
Definition at line 53 of file CellwiseSourcePde.cpp.
c_matrix< double, DIM, DIM > CellwiseSourcePde< DIM >::ComputeDiffusionTerm | ( | const ChastePoint< DIM > & | rX | ) | [inline] |
Overridden ComputeDiffusionTerm() method.
rX | The point in space at which the diffusion term is computed |
Definition at line 83 of file CellwiseSourcePde.cpp.
double CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTerm | ( | const ChastePoint< DIM > & | rX, | |
Element< DIM, DIM > * | pElement | |||
) | [inline] |
Overridden ComputeLinearInUCoeffInSourceTerm() method.
rX | The point in space | |
pElement | the element |
Definition at line 59 of file CellwiseSourcePde.cpp.
References NEVER_REACHED.
double CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode | ( | const Node< DIM > & | rNode | ) | [inline] |
Overridden ComputeLinearInUCoeffInSourceTermAtNode() method.
rNode | reference to the node |
Definition at line 66 of file CellwiseSourcePde.cpp.
References Node< SPACE_DIM >::GetIndex(), CellwiseSourcePde< DIM >::mCoefficient, and CellwiseSourcePde< DIM >::mrCellPopulation.
double CellwiseSourcePde< DIM >::GetCoefficient | ( | ) | const [inline] |
Definition at line 47 of file CellwiseSourcePde.cpp.
References CellwiseSourcePde< DIM >::mCoefficient.
const MeshBasedCellPopulation< DIM > & CellwiseSourcePde< DIM >::rGetCellPopulation | ( | ) | const [inline] |
Definition at line 41 of file CellwiseSourcePde.cpp.
References CellwiseSourcePde< DIM >::mrCellPopulation.
void CellwiseSourcePde< DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Serialize the PDE and its member variables.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractLinearEllipticPde< DIM, DIM >.
Definition at line 57 of file CellwiseSourcePde.hpp.
References CellwiseSourcePde< DIM >::mCoefficient.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractLinearEllipticPde< DIM, DIM >.
Definition at line 49 of file CellwiseSourcePde.hpp.
double CellwiseSourcePde< DIM >::mCoefficient [private] |
Coefficient of consumption of nutrient by cells.
Definition at line 67 of file CellwiseSourcePde.hpp.
Referenced by CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode(), CellwiseSourcePde< DIM >::GetCoefficient(), and CellwiseSourcePde< DIM >::serialize().
MeshBasedCellPopulation<DIM>& CellwiseSourcePde< DIM >::mrCellPopulation [private] |
The cell population member.
Definition at line 64 of file CellwiseSourcePde.hpp.
Referenced by CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode(), and CellwiseSourcePde< DIM >::rGetCellPopulation().