Chaste Release::3.1
|
#include <CellwiseSourcePde.hpp>
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 49 of file CellwiseSourcePde.hpp.
CellwiseSourcePde< DIM >::CellwiseSourcePde | ( | MeshBasedCellPopulation< DIM > & | rCellPopulation, |
double | coefficient = 0.0 |
||
) |
Constructor.
rCellPopulation | reference to the cell population |
coefficient | the coefficient of consumption of nutrient by cells (defaults to 0.0) |
Definition at line 41 of file CellwiseSourcePde.cpp.
double CellwiseSourcePde< DIM >::ComputeConstantInUSourceTerm | ( | const ChastePoint< DIM > & | rX, |
Element< DIM, DIM > * | pElement | ||
) |
Overridden ComputeConstantInUSourceTerm() method.
rX | The point in space |
pElement | The element |
Definition at line 60 of file CellwiseSourcePde.cpp.
c_matrix< double, DIM, DIM > CellwiseSourcePde< DIM >::ComputeDiffusionTerm | ( | const ChastePoint< DIM > & | rX | ) |
Overridden ComputeDiffusionTerm() method.
rX | The point in space at which the diffusion term is computed |
Definition at line 90 of file CellwiseSourcePde.cpp.
double CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTerm | ( | const ChastePoint< DIM > & | rX, |
Element< DIM, DIM > * | pElement | ||
) |
Overridden ComputeLinearInUCoeffInSourceTerm() method.
rX | The point in space |
pElement | the element |
Definition at line 66 of file CellwiseSourcePde.cpp.
References NEVER_REACHED.
double CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode | ( | const Node< DIM > & | rNode | ) |
Overridden ComputeLinearInUCoeffInSourceTermAtNode() method.
rNode | reference to the node |
Definition at line 73 of file CellwiseSourcePde.cpp.
References Node< SPACE_DIM >::GetIndex().
double CellwiseSourcePde< DIM >::GetCoefficient | ( | ) | const |
Definition at line 54 of file CellwiseSourcePde.cpp.
const MeshBasedCellPopulation< DIM > & CellwiseSourcePde< DIM >::rGetCellPopulation | ( | ) | const |
Definition at line 48 of file CellwiseSourcePde.cpp.
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 64 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 56 of file CellwiseSourcePde.hpp.
double CellwiseSourcePde< DIM >::mCoefficient [private] |
Coefficient of consumption of nutrient by cells.
Definition at line 74 of file CellwiseSourcePde.hpp.
Referenced by CellwiseSourcePde< DIM >::serialize().
MeshBasedCellPopulation<DIM>& CellwiseSourcePde< DIM >::mrCellPopulation [private] |
The cell population member.
Definition at line 71 of file CellwiseSourcePde.hpp.