#include <AbstractLinearParabolicPde.hpp>
Public Member Functions | |
virtual double | ComputeDuDtCoefficientFunction (const ChastePoint< SPACE_DIM > &rX)=0 |
virtual double | ComputeSourceTerm (const ChastePoint< SPACE_DIM > &rX, double u)=0 |
virtual double | ComputeSourceTermAtNode (const Node< SPACE_DIM > &rNode, double u) |
virtual c_matrix< double, SPACE_DIM, SPACE_DIM > | ComputeDiffusionTerm (const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement=NULL)=0 |
virtual | ~AbstractLinearParabolicPde () |
A general PDE of the form: c(x) du/dt = Grad.(DiffusionTerm(x)*Grad(u))+LinearSourceTerm(x)+NonlinearSourceTerm(x, u)
Definition at line 46 of file AbstractLinearParabolicPde.hpp.
virtual AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::~AbstractLinearParabolicPde | ( | ) | [inline, virtual] |
Destructor.
Definition at line 85 of file AbstractLinearParabolicPde.hpp.
virtual double AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeDuDtCoefficientFunction | ( | const ChastePoint< SPACE_DIM > & | rX | ) | [pure virtual] |
The function c(x) in "c(x) du/dt = Grad.(DiffusionTerm(x)*Grad(u))+LinearSourceTerm(x)+NonlinearSourceTerm(x, u)"
rX | the point in space at which the function c is computed |
virtual double AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeSourceTerm | ( | const ChastePoint< SPACE_DIM > & | rX, | |
double | u | |||
) | [pure virtual] |
Compute source term.
rX | the point in space at which the nonlinear source term is computed | |
u | the value of the dependent variable at the point |
Referenced by AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeSourceTermAtNode().
double AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeSourceTermAtNode | ( | const Node< SPACE_DIM > & | rNode, | |
double | u | |||
) | [inline, virtual] |
Compute source term at a node.
rNode | the node at which the nonlinear source term is computed | |
u | the value of the dependent variable at the node |
Definition at line 97 of file AbstractLinearParabolicPde.hpp.
References AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeSourceTerm(), and Node< SPACE_DIM >::GetPoint().
virtual c_matrix<double, SPACE_DIM, SPACE_DIM> AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeDiffusionTerm | ( | const ChastePoint< SPACE_DIM > & | rX, | |
Element< ELEMENT_DIM, SPACE_DIM > * | pElement = NULL | |||
) | [pure virtual] |
Compute diffusion term. The diffusion tensor should be symmetric and positive definite.
rX | The point in space at which the diffusion term is computed. | |
pElement | The mesh element that x is contained in (optional). |