Chaste Release::3.1
AbstractOdeSystemForCoupledPdeSystem Class Reference

#include <AbstractOdeSystemForCoupledPdeSystem.hpp>

Inheritance diagram for AbstractOdeSystemForCoupledPdeSystem:
Collaboration diagram for AbstractOdeSystemForCoupledPdeSystem:

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 54 of file AbstractOdeSystemForCoupledPdeSystem.hpp.


Constructor & Destructor Documentation

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

Constructor.

Parameters:
numberOfStateVariablesthe number of state variables in the ODE system (defaults to 0)
pdeSolutionSizethe size of the PDE solution at a point in space (defaults to 0)

Definition at line 76 of file AbstractOdeSystemForCoupledPdeSystem.hpp.

References mPdeSolution.


Member Function Documentation

unsigned AbstractOdeSystemForCoupledPdeSystem::GetPdeSolutionSize ( ) [inline]

Get mPdeSolutionSize.

Definition at line 109 of file AbstractOdeSystemForCoupledPdeSystem.hpp.

References mPdeSolutionSize.

std::vector<double>& AbstractOdeSystemForCoupledPdeSystem::rGetPdeSolution ( ) [inline]

Get mPdeSolution.

Definition at line 87 of file AbstractOdeSystemForCoupledPdeSystem.hpp.

References mPdeSolution.

void AbstractOdeSystemForCoupledPdeSystem::SetPdeSolution ( std::vector< double pdeSolution) [inline]

Set mPdeSolution.

Parameters:
pdeSolutionthe PDE solution at a point in space

Definition at line 97 of file AbstractOdeSystemForCoupledPdeSystem.hpp.

References EXCEPTION, mPdeSolution, and mPdeSolutionSize.


Member Data Documentation


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