CombinedOdeSystemInformation Class Reference

#include <CombinedOdeSystemInformation.hpp>

Inheritance diagram for CombinedOdeSystemInformation:

Inheritance graph
[legend]
Collaboration diagram for CombinedOdeSystemInformation:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static boost::shared_ptr
< CombinedOdeSystemInformation
Instance (const std::vector< AbstractOdeSystem * > &rSubsystems)

Protected Member Functions

 CombinedOdeSystemInformation (const std::vector< boost::shared_ptr< const AbstractOdeSystemInformation > > &rSubsystemInfo)
 CombinedOdeSystemInformation (const CombinedOdeSystemInformation &)
CombinedOdeSystemInformationoperator= (const CombinedOdeSystemInformation &)
void Initialise ()

Static Private Attributes

static std::vector< struct
InstancePointers
msInstances

Classes

struct  InstancePointers


Detailed Description

Provide information about a CombinedOdeSystem, by combining the information provided by the subsystems.

Definition at line 43 of file CombinedOdeSystemInformation.hpp.


Constructor & Destructor Documentation

CombinedOdeSystemInformation::CombinedOdeSystemInformation ( const std::vector< boost::shared_ptr< const AbstractOdeSystemInformation > > &  rSubsystemInfo  )  [protected]

Main constructor.

Not user accessible - to obtain an instance of this class use the Instance method.

Parameters:
rSubsystemInfo the information objects of the ODE systems used to construct the system we are providing information about.

Definition at line 82 of file CombinedOdeSystemInformation.cpp.

References AbstractOdeSystemInformation::mInitialConditions, AbstractOdeSystemInformation::mInitialised, AbstractOdeSystemInformation::mVariableNames, and AbstractOdeSystemInformation::mVariableUnits.

Referenced by Instance().

CombinedOdeSystemInformation::CombinedOdeSystemInformation ( const CombinedOdeSystemInformation  )  [protected]

Copy constructor. Not defined.


Member Function Documentation

CombinedOdeSystemInformation& CombinedOdeSystemInformation::operator= ( const CombinedOdeSystemInformation  )  [protected]

Overloaded assignement operator. Not defined.

void CombinedOdeSystemInformation::Initialise ( void   )  [protected, virtual]

We need to provide an Initialise method, but in this case all the work is done by our constructor, so this method does nothing.

Implements AbstractOdeSystemInformation.

Definition at line 116 of file CombinedOdeSystemInformation.cpp.

boost::shared_ptr< CombinedOdeSystemInformation > CombinedOdeSystemInformation::Instance ( const std::vector< AbstractOdeSystem * > &  rSubsystems  )  [static]

Return a pointer to the singleton instance, creating it if necessary.

Parameters:
rSubsystems the ODE systems used to construct the system we are providing information about.

Definition at line 34 of file CombinedOdeSystemInformation.cpp.

References CombinedOdeSystemInformation(), msInstances, CombinedOdeSystemInformation::InstancePointers::pInfoInstance, and CombinedOdeSystemInformation::InstancePointers::subsystemInformation.

Referenced by CombinedOdeSystem::CombinedOdeSystem().


Member Data Documentation

The single instance of this class for each vector of sub-systems.

Definition of the instance static member.

Definition at line 61 of file CombinedOdeSystemInformation.hpp.

Referenced by Instance().


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

Generated on Tue Aug 4 16:11:07 2009 for Chaste by  doxygen 1.5.5