AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM > Class Template Reference

#include <AbstractLinearParabolicPdeSystemForCoupledOdeSystem.hpp>

List of all members.

Public Member Functions

virtual double ComputeDuDtCoefficientFunction (const ChastePoint< SPACE_DIM > &rX, unsigned pdeIndex)=0
virtual double ComputeSourceTerm (const ChastePoint< SPACE_DIM > &rX, c_vector< double, PROBLEM_DIM > u, std::vector< double > odeSolution, unsigned pdeIndex)=0
virtual double ComputeSourceTermAtNode (const Node< SPACE_DIM > &rNode, c_vector< double, PROBLEM_DIM > u, std::vector< double > odeSolution, unsigned pdeIndex)
virtual c_matrix< double,
SPACE_DIM, SPACE_DIM > 
ComputeDiffusionTerm (const ChastePoint< SPACE_DIM > &rX, unsigned pdeIndex, Element< ELEMENT_DIM, SPACE_DIM > *pElement=NULL)=0
virtual ~AbstractLinearParabolicPdeSystemForCoupledOdeSystem ()


Detailed Description

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM, unsigned PROBLEM_DIM = 1>
class AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >

AbstractLinearParabolicPdeSystem class.

A system of parabolic PDEs, which may be coupled via their source terms:

d/dt (u_i) = div (D(x) grad (u_i)) + f_i (x, u_1, ..., u_p, v_1, ..., v_q), i=1,...,p.

Here p denotes the size of the PDE system and each source term f_i may be nonlinear. The variables v_1, ..., v_q are assumed to satisfy a coupled ODE system of the form

d/dt (v_j) = g_j(x, u_1, ..., u_p, v_1, ..., v_q), j=1,...,q.

Such systems may be solved using LinearParabolicPdeSystemWithCoupledOdeSystemSolver.

Todo:
check that the ODE solution vector is of the correct size, and the PDE index is within the correct range, throughout (#1777)

Definition at line 56 of file AbstractLinearParabolicPdeSystemForCoupledOdeSystem.hpp.


Constructor & Destructor Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM, unsigned PROBLEM_DIM = 1>
virtual AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::~AbstractLinearParabolicPdeSystemForCoupledOdeSystem (  )  [inline, virtual]

Destructor.

Definition at line 99 of file AbstractLinearParabolicPdeSystemForCoupledOdeSystem.hpp.


Member Function Documentation

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM, unsigned PROBLEM_DIM = 1>
virtual double AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ComputeDuDtCoefficientFunction ( const ChastePoint< SPACE_DIM > &  rX,
unsigned  pdeIndex 
) [pure virtual]

Compute the function c_i(x).

Parameters:
rX the point x at which the function c_i is computed
pdeIndex the index of the PDE, denoted by i above

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM, unsigned PROBLEM_DIM = 1>
virtual double AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ComputeSourceTerm ( const ChastePoint< SPACE_DIM > &  rX,
c_vector< double, PROBLEM_DIM >  u,
std::vector< double >  odeSolution,
unsigned  pdeIndex 
) [pure virtual]

Compute the source term f_i(x, u_1, u_2, ..., u_p) at a point in space.

Parameters:
rX the point x at which the nonlinear source term is computed
u the vector of dependent variables (u_1, u_2, ..., u_p) at the point x
odeSolution the ODE system state vector (v_1, ..., v_q) at the point x (if an ODE system is present)
pdeIndex the index of the PDE, denoted by i above

Referenced by AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ComputeSourceTermAtNode().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM, unsigned PROBLEM_DIM>
double AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ComputeSourceTermAtNode ( const Node< SPACE_DIM > &  rNode,
c_vector< double, PROBLEM_DIM >  u,
std::vector< double >  odeSolution,
unsigned  pdeIndex 
) [inline, virtual]

Compute source term f_i(x, u_1, u_2, ..., u_p) at a node.

Parameters:
rNode the node at which the nonlinear source term f_i is computed
u the vector of dependent variables (u_1, u_2, ..., u_p) at the node
odeSolution the ODE system state vector (v_1, ..., v_q) at the node (if an ODE system is present)
pdeIndex the index of the PDE, denoted by i above

Definition at line 108 of file AbstractLinearParabolicPdeSystemForCoupledOdeSystem.hpp.

References AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ComputeSourceTerm(), and Node< SPACE_DIM >::GetPoint().

template<unsigned ELEMENT_DIM, unsigned SPACE_DIM = ELEMENT_DIM, unsigned PROBLEM_DIM = 1>
virtual c_matrix<double, SPACE_DIM, SPACE_DIM> AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::ComputeDiffusionTerm ( const ChastePoint< SPACE_DIM > &  rX,
unsigned  pdeIndex,
Element< ELEMENT_DIM, SPACE_DIM > *  pElement = NULL 
) [pure virtual]

Compute diffusion term D_i(x) at a point in space. The diffusion tensor should be symmetric and positive definite.

Parameters:
rX The point x at which the diffusion term D_i is computed
pdeIndex the index of the PDE, denoted by i above
pElement The mesh element that x is contained in (optional)


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

Generated on Tue May 31 14:32:15 2011 for Chaste by  doxygen 1.5.5