Chaste Release::3.1
|
#include <SimpleUniformSourcePde.hpp>
Public Member Functions | |
SimpleUniformSourcePde (double coefficient=0.0) | |
double | GetCoefficient () const |
double | ComputeConstantInUSourceTerm (const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement) |
double | ComputeLinearInUCoeffInSourceTerm (const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement) |
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 | |
double | mCoefficient |
Friends | |
class | TestCellBasedPdes |
class | boost::serialization::access |
A simple nutrient PDE which is not directly coupled to the cell population.
Definition at line 48 of file SimpleUniformSourcePde.hpp.
SimpleUniformSourcePde< DIM >::SimpleUniformSourcePde | ( | double | coefficient = 0.0 | ) |
Constructor.
coefficient | the coefficient of consumption of nutrient by cells (defaults to 0.0) |
Definition at line 39 of file SimpleUniformSourcePde.cpp.
double SimpleUniformSourcePde< DIM >::ComputeConstantInUSourceTerm | ( | const ChastePoint< DIM > & | rX, |
Element< DIM, DIM > * | pElement | ||
) |
Overridden ComputeConstantInUSourceTerm() method.
rX | The point in space |
pElement | The element |
Definition at line 51 of file SimpleUniformSourcePde.cpp.
c_matrix< double, DIM, DIM > SimpleUniformSourcePde< DIM >::ComputeDiffusionTerm | ( | const ChastePoint< DIM > & | rX | ) |
Overridden ComputeDiffusionTerm() method.
rX | The point in space at which the diffusion term is computed |
Definition at line 63 of file SimpleUniformSourcePde.cpp.
double SimpleUniformSourcePde< DIM >::ComputeLinearInUCoeffInSourceTerm | ( | const ChastePoint< DIM > & | rX, |
Element< DIM, DIM > * | pElement | ||
) |
Overridden ComputeLinearInUCoeffInSourceTerm() method.
rX | The point in space |
pElement | the element |
Definition at line 57 of file SimpleUniformSourcePde.cpp.
double SimpleUniformSourcePde< DIM >::GetCoefficient | ( | ) | const |
Definition at line 45 of file SimpleUniformSourcePde.cpp.
void SimpleUniformSourcePde< 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 63 of file SimpleUniformSourcePde.hpp.
References SimpleUniformSourcePde< DIM >::mCoefficient.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractLinearEllipticPde< DIM, DIM >.
Definition at line 55 of file SimpleUniformSourcePde.hpp.
double SimpleUniformSourcePde< DIM >::mCoefficient [private] |
Coefficient of consumption of nutrient by cells.
Definition at line 70 of file SimpleUniformSourcePde.hpp.
Referenced by SimpleUniformSourcePde< DIM >::serialize().