VPTissue Reference Manual
|
Coupled Simulator: multiple simulators and couplers. More...
#include <CoupledSim.h>
Public Member Functions | |
CoupledSim () | |
Constructor does almost no initialization work (. More... | |
virtual | ~CoupledSim () |
Destructor is virtual. | |
CoreData & | GetCoreData () override final |
const boost::property_tree::ptree & | GetParameters () const |
std::string | GetProjectName () const |
std::string | GetRunDate () const |
int | GetSimStep () const |
Timings | GetTimings () const |
void | IncrementStepCount () |
Increase the current time step counter by one. | |
void | Initialize (const boost::property_tree::ptree &pt, const std::vector< std::shared_ptr< Sim >> &simulators) |
Initialize with full configuration (complete setup prior to first use). | |
bool | IsAtTermination () const |
bool | IsStationary () const |
void | Reinitialize (const boost::property_tree::ptree ¶meters) |
void | TimeStep () |
Public Member Functions inherited from SimPT_Sim::SimInterface | |
virtual | ~SimInterface () |
Virtual destructor. | |
Public Member Functions inherited from SimPT_Sim::ClockMan::Timeable<> | |
virtual | ~Timeable () |
Destructor virtual for polymorphic class. | |
Public Member Functions inherited from SimPT_Sim::Util::Subject< SimPT_Sim::Event::CoupledSimEvent, std::weak_ptr< const void > > | |
void | Notify (const EventType &) |
void | Register (const U *, CallbackType) |
void | Unregister (const U *) |
void | UnregisterAll () |
Additional Inherited Members | |
Public Types inherited from SimPT_Sim::ClockMan::Timeable<> | |
using | Timings = typename ClockTraits< std::chrono::system_clock, typename std::chrono::system_clock::duration >::CumulativeTimings |
Public Types inherited from SimPT_Sim::ClockMan::ClockTraits< std::chrono::system_clock, typename std::chrono::system_clock::duration > | |
using | Clock = std::chrono::system_clock |
Type for clock. | |
using | CumulativeTimings = SimPT_Sim::ClockMan::CumulativeRecords< typename std::chrono::system_clock::duration > |
Records with cumulative timing info. | |
using | Duration = typename std::chrono::system_clock::duration |
Type for time duration units. | |
using | IndividualTimings = SimPT_Sim::ClockMan::IndividualRecords< typename std::chrono::system_clock::duration > |
Records with individual timing info. | |
using | Stopclock = SimPT_Sim::ClockMan::Stopwatch< std::chrono::system_clock > |
Stopwatch to measure time durations. | |
Public Types inherited from SimPT_Sim::Util::Subject< SimPT_Sim::Event::CoupledSimEvent, std::weak_ptr< const void > > | |
typedef std::function< void(const EventType &)> | CallbackType |
typedef SimPT_Sim::Event::CoupledSimEvent | EventType |
typedef const std::weak_ptr< const void > * | KeyType |
Coupled Simulator: multiple simulators and couplers.
Definition at line 42 of file CoupledSim.h.
SimPT_Sim::CoupledSim::CoupledSim | ( | ) |
Constructor does almost no initialization work (.
Definition at line 39 of file CoupledSim.cpp.
|
inlinefinaloverridevirtual |
Implements SimPT_Sim::SimInterface.
Definition at line 54 of file CoupledSim.h.
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 44 of file CoupledSim.cpp.
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 49 of file CoupledSim.cpp.
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 54 of file CoupledSim.cpp.
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 59 of file CoupledSim.cpp.
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 64 of file CoupledSim.cpp.
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 92 of file CoupledSim.cpp.
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 102 of file CoupledSim.cpp.
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 112 of file CoupledSim.cpp.
References SimPT_Sim::Util::FunctionMap< S >::Get(), and SimPT_Sim::Util::FunctionMap< S >::IsValid().
Referenced by Initialize().
|
virtual |
Implements SimPT_Sim::SimInterface.
Definition at line 141 of file CoupledSim.cpp.
References SimPT_Sim::ClockMan::Stopwatch< T >::Get(), SimPT_Sim::ClockMan::Stopwatch< T >::GetName(), and IncrementStepCount().