#include <AbstractLinearParabolicPdeSystemForCoupledOdeSystem.hpp>
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 () |
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.
Definition at line 56 of file AbstractLinearParabolicPdeSystemForCoupledOdeSystem.hpp.
virtual AbstractLinearParabolicPdeSystemForCoupledOdeSystem< ELEMENT_DIM, SPACE_DIM, PROBLEM_DIM >::~AbstractLinearParabolicPdeSystemForCoupledOdeSystem | ( | ) | [inline, virtual] |
Destructor.
Definition at line 99 of file AbstractLinearParabolicPdeSystemForCoupledOdeSystem.hpp.
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).
rX | the point x at which the function c_i is computed | |
pdeIndex | the index of the PDE, denoted by i above |
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.
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().
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.
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().
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.
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) |