Chaste Release::3.1
CombinedOdeSystemInformation Class Reference

#include <CombinedOdeSystemInformation.hpp>

Inheritance diagram for CombinedOdeSystemInformation:
Collaboration diagram for CombinedOdeSystemInformation:

List of all members.

Classes

struct  InstancePointers

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

Detailed Description

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

Definition at line 50 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:
rSubsystemInfothe information objects of the ODE systems used to construct the system we are providing information about.

Definition at line 89 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

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 123 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:
rSubsystemsthe ODE systems used to construct the system we are providing information about.

Definition at line 41 of file CombinedOdeSystemInformation.cpp.

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

Referenced by CombinedOdeSystem::CombinedOdeSystem().

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

Overloaded assignment operator. Not defined.


Member Data Documentation

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

Definition of the instance static member.

Definition at line 68 of file CombinedOdeSystemInformation.hpp.

Referenced by Instance().


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