SimpleUniformSourcePde< DIM > Class Template Reference

#include <SimpleUniformSourcePde.hpp>

Inheritance diagram for SimpleUniformSourcePde< DIM >:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimpleUniformSourcePde (double coefficient)
double ComputeConstantInUSourceTerm (const ChastePoint< DIM > &rX)
double ComputeLinearInUCoeffInSourceTerm (const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
c_matrix< double, DIM, DIM > ComputeDiffusionTerm (const ChastePoint< DIM > &rX)

Private Attributes

double mCoefficient


Detailed Description

template<unsigned DIM>
class SimpleUniformSourcePde< DIM >

A simple nutrient PDE which is not directly coupled to the cell population.

Definition at line 37 of file SimpleUniformSourcePde.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
SimpleUniformSourcePde< DIM >::SimpleUniformSourcePde ( double  coefficient  )  [inline]

Constructor.

Parameters:
coefficient the coefficient of consumption of nutrient by cells

Definition at line 33 of file SimpleUniformSourcePde.cpp.


Member Function Documentation

template<unsigned DIM>
double SimpleUniformSourcePde< 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 39 of file SimpleUniformSourcePde.cpp.

template<unsigned DIM>
double SimpleUniformSourcePde< 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 45 of file SimpleUniformSourcePde.cpp.

References SimpleUniformSourcePde< DIM >::mCoefficient.

template<unsigned DIM>
c_matrix< double, DIM, DIM > SimpleUniformSourcePde< 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 51 of file SimpleUniformSourcePde.cpp.


Member Data Documentation

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

Coefficient of consumption of nutrient by cells.

Definition at line 42 of file SimpleUniformSourcePde.hpp.

Referenced by SimpleUniformSourcePde< DIM >::ComputeLinearInUCoeffInSourceTerm().


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

Generated on Tue May 31 14:34:14 2011 for Chaste by  doxygen 1.5.5