Chaste Commit::f2ff7ee04e70ac9d06c57344df8d017dbb12b97b
AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM > Class Template Referenceabstract

#include <AbstractLinearParabolicPde.hpp>

+ Inheritance diagram for AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >:
+ Collaboration diagram for AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >:

Public Member Functions

 AbstractLinearParabolicPde ()
 
virtual ~AbstractLinearParabolicPde ()
 
virtual double ComputeDuDtCoefficientFunction (const ChastePoint< SPACE_DIM > &rX)=0
 
virtual double ComputeSourceTerm (const ChastePoint< SPACE_DIM > &rX, double u, Element< ELEMENT_DIM, SPACE_DIM > *pElement=nullptr)=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
 
- Public Member Functions inherited from AbstractLinearPde< ELEMENT_DIM, SPACE_DIM >
 AbstractLinearPde ()
 
virtual ~AbstractLinearPde ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)
 

Friends

class boost::serialization::access
 

Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
class AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >

AbstractLinearParabolicPde class.

A general PDE of the form: c(x) du/dt = Grad.(DiffusionTerm(x)*Grad(u))+LinearSourceTerm(x)+NonlinearSourceTerm(x, u)

Template Parameters
ELEMENT_DIMDimension of the elements.
SPACE_DIMDimension of the space. If not specified, it defaults to ELEMENT_DIM.

Definition at line 62 of file AbstractLinearParabolicPde.hpp.

Constructor & Destructor Documentation

◆ AbstractLinearParabolicPde()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::AbstractLinearParabolicPde ( )
inline

Constructor.

Definition at line 85 of file AbstractLinearParabolicPde.hpp.

◆ ~AbstractLinearParabolicPde()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
virtual AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::~AbstractLinearParabolicPde ( )
inlinevirtual

Destructor.

Definition at line 92 of file AbstractLinearParabolicPde.hpp.

Member Function Documentation

◆ ComputeDiffusionTerm()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
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
Returns
computed diffusion term. The diffusion tensor should be symmetric and positive definite.
Parameters
rXThe point in space at which the diffusion term is computed.
pElementThe mesh element that x is contained in (optional).
Returns
A matrix.

◆ ComputeDuDtCoefficientFunction()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
virtual double AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeDuDtCoefficientFunction ( const ChastePoint< SPACE_DIM > &  rX)
pure virtual
Returns
the function c(x) in "c(x) du/dt = Grad.(DiffusionTerm(x)*Grad(u))+LinearSourceTerm(x)+NonlinearSourceTerm(x, u)"
Parameters
rXthe point in space at which the function c is computed

◆ ComputeSourceTerm()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
virtual double AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeSourceTerm ( const ChastePoint< SPACE_DIM > &  rX,
double  u,
Element< ELEMENT_DIM, SPACE_DIM > *  pElement = nullptr 
)
pure virtual
Returns
computed source term.
Parameters
rXthe point in space at which the nonlinear source term is computed
uthe value of the dependent variable at the point
pElementthe element that we are inside

◆ ComputeSourceTermAtNode()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
double AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::ComputeSourceTermAtNode ( const Node< SPACE_DIM > &  rNode,
double  u 
)
virtual
Returns
computed source term at a node.
Parameters
rNodethe node at which the nonlinear source term is computed
uthe value of the dependent variable at the node

Definition at line 135 of file AbstractLinearParabolicPde.hpp.

References Node< SPACE_DIM >::GetPoint().

◆ serialize()

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
template<class Archive >
void AbstractLinearParabolicPde< ELEMENT_DIM, SPACE_DIM >::serialize ( Archive &  archive,
const unsigned int  version 
)
inlineprivate

Serialize the PDE object.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 75 of file AbstractLinearParabolicPde.hpp.

Friends And Related Symbol Documentation

◆ boost::serialization::access

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM>
friend class boost::serialization::access
friend

Needed for serialization.

Definition at line 67 of file AbstractLinearParabolicPde.hpp.


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