AbstractOdeSystemForCoupledPdeSystem Class Reference

#include <AbstractOdeSystemForCoupledPdeSystem.hpp>

Inherits AbstractOdeSystem.

Inherited by OdeSystemForCoupledHeatEquation, and OdeSystemForCoupledHeatEquationWithSource.

Collaboration diagram for AbstractOdeSystemForCoupledPdeSystem:
Collaboration graph
[legend]

List of all members.

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< doublemPdeSolution
unsigned mPdeSolutionSize

Detailed Description

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.


Constructor & Destructor Documentation

AbstractOdeSystemForCoupledPdeSystem::AbstractOdeSystemForCoupledPdeSystem ( unsigned  numberOfStateVariables = 0,
unsigned  pdeSolutionSize = 0 
) [inline]

Constructor.

Parameters:
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.


Member Function Documentation

unsigned AbstractOdeSystemForCoupledPdeSystem::GetPdeSolutionSize (  )  [inline]
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.

Parameters:
pdeSolution the PDE solution at a point in space

Definition at line 76 of file AbstractOdeSystemForCoupledPdeSystem.hpp.

References mPdeSolution.


Member Data Documentation

The size of the PDE solution at a point in space.

Definition at line 45 of file AbstractOdeSystemForCoupledPdeSystem.hpp.

Referenced by OdeSystemForCoupledHeatEquation::EvaluateYDerivatives().


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