CellwiseSourcePde< DIM > Class Template Reference

#include <CellwiseSourcePde.hpp>

Inheritance diagram for CellwiseSourcePde< DIM >:

Inheritance graph
[legend]
Collaboration diagram for CellwiseSourcePde< DIM >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CellwiseSourcePde (MeshBasedCellPopulation< DIM > &rCellPopulation, double coefficient)
double ComputeConstantInUSourceTerm (const ChastePoint< DIM > &rX)
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 Attributes

MeshBasedCellPopulation< DIM > & mrCellPopulation
double mCoefficient


Detailed Description

template<unsigned DIM>
class CellwiseSourcePde< DIM >

A PDE which has a source at each non-apoptotic cell.

Definition at line 38 of file CellwiseSourcePde.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
CellwiseSourcePde< DIM >::CellwiseSourcePde ( MeshBasedCellPopulation< DIM > &  rCellPopulation,
double  coefficient 
) [inline]

Constructor.

Parameters:
rCellPopulation reference to the cell population
coefficient the coefficient of consumption of nutrient by cells

Definition at line 33 of file CellwiseSourcePde.cpp.


Member Function Documentation

template<unsigned DIM>
double CellwiseSourcePde< DIM >::ComputeConstantInUSourceTerm ( const ChastePoint< DIM > &  rX  )  [inline]

Overridden ComputeConstantInUSourceTerm() method.

Parameters:
rX The point in space
Returns:
the constant in u part of the source term, i.e g(x) in Div(D Grad u) + f(x)u + g(x) = 0.

Definition at line 40 of file CellwiseSourcePde.cpp.

template<unsigned DIM>
double CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTerm ( const ChastePoint< DIM > &  rX,
Element< DIM, DIM > *  pElement 
) [inline]

Overridden ComputeLinearInUCoeffInSourceTerm() method.

Parameters:
rX The point in space
pElement the element
Returns:
the coefficient of u in the linear part of the source term, i.e f(x) in Div(D Grad u) + f(x)u + g(x) = 0.

Definition at line 46 of file CellwiseSourcePde.cpp.

References NEVER_REACHED.

template<unsigned DIM>
double CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode ( const Node< DIM > &  rNode  )  [inline]

template<unsigned DIM>
c_matrix< double, DIM, DIM > CellwiseSourcePde< DIM >::ComputeDiffusionTerm ( const ChastePoint< DIM > &  rX  )  [inline]

Overridden ComputeDiffusionTerm() method.

Parameters:
rX The point in space at which the diffusion term is computed
Returns:
a matrix.

Definition at line 70 of file CellwiseSourcePde.cpp.


Member Data Documentation

template<unsigned DIM>
MeshBasedCellPopulation<DIM>& CellwiseSourcePde< DIM >::mrCellPopulation [private]

The cell population member.

Definition at line 43 of file CellwiseSourcePde.hpp.

Referenced by CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode().

template<unsigned DIM>
double CellwiseSourcePde< DIM >::mCoefficient [private]

Coefficient of consumption of nutrient by cells.

Definition at line 46 of file CellwiseSourcePde.hpp.

Referenced by CellwiseSourcePde< DIM >::ComputeLinearInUCoeffInSourceTermAtNode().


The documentation for this class was generated from the following files:

Generated on Mon Apr 18 11:36:43 2011 for Chaste by  doxygen 1.5.5