Chaste Release::3.1
OdeSystemForCoupledHeatEquationWithSource Class Reference

#include <OdeSystemForCoupledHeatEquationWithSource.hpp>

Inheritance diagram for OdeSystemForCoupledHeatEquationWithSource:
Collaboration diagram for OdeSystemForCoupledHeatEquationWithSource:

List of all members.

Public Member Functions

 OdeSystemForCoupledHeatEquationWithSource (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*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.


Constructor & Destructor Documentation

OdeSystemForCoupledHeatEquationWithSource::OdeSystemForCoupledHeatEquationWithSource ( double  a) [inline]

Member Function Documentation

void OdeSystemForCoupledHeatEquationWithSource::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 OdeSystemForCoupledHeatEquationWithSource.hpp.

References mA.


Member Data Documentation

A parameter for use in the ODE system.

Definition at line 58 of file OdeSystemForCoupledHeatEquationWithSource.hpp.

Referenced by EvaluateYDerivatives().


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