![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <UniformSourceEllipticPde.hpp>
Public Member Functions | |
UniformSourceEllipticPde (double sourceCoefficient=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) |
![]() | |
AbstractLinearEllipticPde () | |
virtual | ~AbstractLinearEllipticPde () |
virtual double | ComputeConstantInUSourceTerm (const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement)=0 |
virtual double | ComputeLinearInUCoeffInSourceTerm (const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement)=0 |
virtual c_matrix< double, SPACE_DIM, SPACE_DIM > | ComputeDiffusionTerm (const ChastePoint< SPACE_DIM > &rX)=0 |
virtual double | ComputeConstantInUSourceTermAtNode (const Node< SPACE_DIM > &rNode) |
virtual double | ComputeLinearInUCoeffInSourceTermAtNode (const Node< SPACE_DIM > &rNode) |
![]() | |
AbstractLinearPde () | |
virtual | ~AbstractLinearPde () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Private Attributes | |
double | mSourceCoefficient |
Friends | |
class | TestCellBasedEllipticPdes |
class | boost::serialization::access |
An elliptic PDE to be solved numerically using the finite element method, for coupling to a cell-based simulation.
The PDE takes the form
Grad.(Grad(u)) + k = 0,
where the scalar k is specified by the member mSourceCoefficient, whose value must be set in the constructor.
Thus, there is no direct coupling between the cell-based simulation and the terms of the PDE; here, the cell population just defines the spatial domain on which to solve the PDE.
Definition at line 60 of file UniformSourceEllipticPde.hpp.
UniformSourceEllipticPde< DIM >::UniformSourceEllipticPde | ( | double | sourceCoefficient = 0.0 | ) |
Constructor.
sourceCoefficient | the source term coefficient (defaults to 0.0) |
Definition at line 39 of file UniformSourceEllipticPde.cpp.
double UniformSourceEllipticPde< 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 UniformSourceEllipticPde.cpp.
c_matrix< double, DIM, DIM > UniformSourceEllipticPde< 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 UniformSourceEllipticPde.cpp.
double UniformSourceEllipticPde< 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 UniformSourceEllipticPde.cpp.
double UniformSourceEllipticPde< DIM >::GetCoefficient | ( | ) | const |
Definition at line 45 of file UniformSourceEllipticPde.cpp.
|
inlineprivate |
Serialize the PDE and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 75 of file UniformSourceEllipticPde.hpp.
References UniformSourceEllipticPde< DIM >::mSourceCoefficient.
|
friend |
Needed for serialization.
Definition at line 67 of file UniformSourceEllipticPde.hpp.
|
friend |
Definition at line 62 of file UniformSourceEllipticPde.hpp.
|
private |
Coefficient of source term.
Definition at line 82 of file UniformSourceEllipticPde.hpp.
Referenced by UniformSourceEllipticPde< DIM >::serialize().