#include <SimpleUniformSourcePde.hpp>
Inherits AbstractLinearEllipticPde< DIM, DIM >.
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 41 of file SimpleUniformSourcePde.hpp.
SimpleUniformSourcePde< DIM >::SimpleUniformSourcePde | ( | double | coefficient = 0.0 |
) | [inline] |
Constructor.
coefficient | the coefficient of consumption of nutrient by cells (defaults to 0.0) |
Definition at line 32 of file SimpleUniformSourcePde.cpp.
double SimpleUniformSourcePde< 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 44 of file SimpleUniformSourcePde.cpp.
c_matrix< double, DIM, DIM > SimpleUniformSourcePde< 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 56 of file SimpleUniformSourcePde.cpp.
double SimpleUniformSourcePde< 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 50 of file SimpleUniformSourcePde.cpp.
References SimpleUniformSourcePde< DIM >::mCoefficient.
double SimpleUniformSourcePde< DIM >::GetCoefficient | ( | ) | const [inline] |
Definition at line 38 of file SimpleUniformSourcePde.cpp.
References SimpleUniformSourcePde< DIM >::mCoefficient.
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 56 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 48 of file SimpleUniformSourcePde.hpp.
double SimpleUniformSourcePde< DIM >::mCoefficient [private] |
Coefficient of consumption of nutrient by cells.
Definition at line 63 of file SimpleUniformSourcePde.hpp.
Referenced by SimpleUniformSourcePde< DIM >::ComputeLinearInUCoeffInSourceTerm(), SimpleUniformSourcePde< DIM >::GetCoefficient(), and SimpleUniformSourcePde< DIM >::serialize().