#include <AbstractOdeSystemForCoupledPdeSystem.hpp>
Inherits AbstractOdeSystem.
Inherited by OdeSystemForCoupledHeatEquation, and OdeSystemForCoupledHeatEquationWithSource.
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 47 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 55 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
References mPdeSolution.
unsigned AbstractOdeSystemForCoupledPdeSystem::GetPdeSolutionSize | ( | ) | [inline] |
Get mPdeSolutionSize.
Definition at line 88 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
std::vector<double>& AbstractOdeSystemForCoupledPdeSystem::rGetPdeSolution | ( | ) | [inline] |
Get mPdeSolution.
Definition at line 66 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
void AbstractOdeSystemForCoupledPdeSystem::SetPdeSolution | ( | std::vector< double > | pdeSolution | ) | [inline] |
Set mPdeSolution.
pdeSolution | the PDE solution at a point in space |
Definition at line 76 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
References mPdeSolution.
std::vector<double> AbstractOdeSystemForCoupledPdeSystem::mPdeSolution [protected] |
Current solution to the PDE problem.
Definition at line 40 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
Referenced by AbstractOdeSystemForCoupledPdeSystem(), OdeSystemForCoupledHeatEquation::EvaluateYDerivatives(), and SetPdeSolution().
The size of the PDE solution at a point in space.
Definition at line 45 of file AbstractOdeSystemForCoupledPdeSystem.hpp.
Referenced by OdeSystemForCoupledHeatEquation::EvaluateYDerivatives().