OdeSystemForCoupledHeatEquation Class Reference

#include <OdeSystemForCoupledHeatEquation.hpp>

Inherits AbstractOdeSystemForCoupledPdeSystem.

Collaboration diagram for OdeSystemForCoupledHeatEquation:
Collaboration graph
[legend]

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 46 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:
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 75 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 51 of file OdeSystemForCoupledHeatEquation.hpp.

Referenced by EvaluateYDerivatives().


The documentation for this class was generated from the following file:
Generated on Thu Dec 22 13:06:56 2011 for Chaste by  doxygen 1.6.3