Chaste Release::3.1
|
#include <AbstractOdeSystemForCoupledPdeSystem.hpp>
Public Member Functions | |
AbstractOdeSystemForCoupledPdeSystem (unsigned numberOfStateVariables=0, unsigned pdeSolutionSize=0) | |
std::vector< double > & | rGetPdeSolution () |
void | SetPdeSolution (std::vector< double > pdeSolution) |
unsigned | GetPdeSolutionSize () |
Protected Attributes | |
std::vector< double > | mPdeSolution |
unsigned | mPdeSolutionSize |
Represents an ODE system of the form
d/dt (v_j) = g_j(x, u_1, ..., u_p, v_1, ..., v_q), j=1,...,q,
where the variables u_1, ..., u_p are assumed to satisfy a coupled PDE system of the form
d/dt (u_i) = div (D(x) grad (u_i)) + f_i (x, u_1, ..., u_p, v_1, ..., v_q), i=1,...,p.
Such systems may be solved using LinearParabolicPdeSystemWithCoupledOdeSystemSolver.
Definition at line 54 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
AbstractOdeSystemForCoupledPdeSystem::AbstractOdeSystemForCoupledPdeSystem | ( | unsigned | numberOfStateVariables = 0 , |
unsigned | pdeSolutionSize = 0 |
||
) | [inline] |
Constructor.
numberOfStateVariables | the number of state variables in the ODE system (defaults to 0) |
pdeSolutionSize | the size of the PDE solution at a point in space (defaults to 0) |
Definition at line 76 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
References mPdeSolution.
unsigned AbstractOdeSystemForCoupledPdeSystem::GetPdeSolutionSize | ( | ) | [inline] |
Get mPdeSolutionSize.
Definition at line 109 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
References mPdeSolutionSize.
std::vector<double>& AbstractOdeSystemForCoupledPdeSystem::rGetPdeSolution | ( | ) | [inline] |
Get mPdeSolution.
Definition at line 87 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
References mPdeSolution.
void AbstractOdeSystemForCoupledPdeSystem::SetPdeSolution | ( | std::vector< double > | pdeSolution | ) | [inline] |
Set mPdeSolution.
pdeSolution | the PDE solution at a point in space |
Definition at line 97 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
References EXCEPTION, mPdeSolution, and mPdeSolutionSize.
std::vector<double> AbstractOdeSystemForCoupledPdeSystem::mPdeSolution [protected] |
Current solution to the PDE problem.
Definition at line 61 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
Referenced by AbstractOdeSystemForCoupledPdeSystem(), OdeSystemForCoupledHeatEquation::EvaluateYDerivatives(), rGetPdeSolution(), and SetPdeSolution().
The size of the PDE solution at a point in space.
Definition at line 66 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
Referenced by OdeSystemForCoupledHeatEquation::EvaluateYDerivatives(), GetPdeSolutionSize(), and SetPdeSolution().