Chaste Release::3.1
|
#include <OdeSystemForCoupledHeatEquationWithSource.hpp>
Public Member Functions | |
OdeSystemForCoupledHeatEquationWithSource (double a) | |
void | EvaluateYDerivatives (double time, const std::vector< double > &rY, std::vector< double > &rDY) |
Private Attributes | |
double | mA |
An ODE system given by
dv/dt = a*v, v(0) = 1,
that 'couples' with (although in this case, is actually independent of) the heat equation with source term
u_t = del^2 u + v,
which is defined in the separate class HeatEquationWithSourceForCoupledOdeSystem.
Definition at line 53 of file OdeSystemForCoupledHeatEquationWithSource.hpp.
OdeSystemForCoupledHeatEquationWithSource::OdeSystemForCoupledHeatEquationWithSource | ( | double | a | ) | [inline] |
Constructor.
a | the value of the parameter mA |
Definition at line 67 of file OdeSystemForCoupledHeatEquationWithSource.hpp.
References AbstractParameterisedSystem< std::vector< double > >::GetInitialConditions(), AbstractUntemplatedParameterisedSystem::mpSystemInfo, and AbstractParameterisedSystem< std::vector< double > >::SetStateVariables().
void OdeSystemForCoupledHeatEquationWithSource::EvaluateYDerivatives | ( | double | time, |
const std::vector< double > & | rY, | ||
std::vector< double > & | rDY | ||
) | [inline, virtual] |
Method to evaluate the derivatives of the system.
time | the current time |
rY | the current values of the state variables |
rDY | storage for the derivatives of the system; will be filled in on return |
Implements AbstractOdeSystem.
Definition at line 82 of file OdeSystemForCoupledHeatEquationWithSource.hpp.
References mA.
A parameter for use in the ODE system.
Definition at line 58 of file OdeSystemForCoupledHeatEquationWithSource.hpp.
Referenced by EvaluateYDerivatives().