Chaste Release::3.1
OdeSystemForCoupledHeatEquation Class Reference

#include <OdeSystemForCoupledHeatEquation.hpp>

Inheritance diagram for OdeSystemForCoupledHeatEquation:
Collaboration diagram for OdeSystemForCoupledHeatEquation:

List of all members.

Public Member Functions

 OdeSystemForCoupledHeatEquation (double a)
void EvaluateYDerivatives (double time, const std::vector< double > &rY, std::vector< double > &rDY)

Private Attributes

double mA

Detailed Description

An ODE system given by

dv/dt = a*u, v(0) = 1,

that couples with the heat equation

u_t = div (grad u),

which is defined in the separate class HeatEquationForCoupledOdeSystem.

Definition at line 53 of file OdeSystemForCoupledHeatEquation.hpp.


Constructor & Destructor Documentation

OdeSystemForCoupledHeatEquation::OdeSystemForCoupledHeatEquation ( double  a) [inline]

Member Function Documentation

void OdeSystemForCoupledHeatEquation::EvaluateYDerivatives ( double  time,
const std::vector< double > &  rY,
std::vector< double > &  rDY 
) [inline, virtual]

Method to evaluate the derivatives of the system.

Parameters:
timethe current time
rYthe current values of the state variables
rDYstorage for the derivatives of the system; will be filled in on return

Implements AbstractOdeSystem.

Definition at line 82 of file OdeSystemForCoupledHeatEquation.hpp.

References mA, AbstractOdeSystemForCoupledPdeSystem::mPdeSolution, and AbstractOdeSystemForCoupledPdeSystem::mPdeSolutionSize.


Member Data Documentation

A parameter for use in the ODE system.

Definition at line 58 of file OdeSystemForCoupledHeatEquation.hpp.

Referenced by EvaluateYDerivatives().


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