Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::TimeLoopReader Class Reference

Time loop loading functor. More...

#include <arcane/impl/TimeLoopReader.h>

Inheritance diagram for Arcane::TimeLoopReader:
Collaboration diagram for Arcane::TimeLoopReader:

Public Member Functions

 TimeLoopReader (IApplication *sm)
 Creates an instance associated with the manager sm.
 ~TimeLoopReader ()
 Frees resources.
void readTimeLoops ()
 Performs the reading of available time loops.
void registerTimeLoops (ISubDomain *sd)
 Registers the list of time loops in the manager sd.
void setUsedTimeLoop (ISubDomain *sd)
 Positions the used time loop in the manager sd.
const StringtimeLoopName () const
 name of the time loop to execute.
TimeLoopCollection timeLoops () const
 List of read time loops.
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Private Attributes

IApplicationm_application
 Supervisor.
TimeLoopList m_time_loops
String m_time_loop_name

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Time loop loading functor.

Based on the dataset and general options, it reads the name of the time loop and indicates it to the manager #m_mng.

Definition at line 44 of file TimeLoopReader.h.

Constructor & Destructor Documentation

◆ TimeLoopReader()

Arcane::TimeLoopReader::TimeLoopReader ( IApplication * sm)

Creates an instance associated with the manager sm.

Definition at line 50 of file TimeLoopReader.cc.

References m_application, Arcane::TraceAccessor::TraceAccessor(), and Arcane::TraceAccessor::traceMng().

Here is the call graph for this function:

◆ ~TimeLoopReader()

Arcane::TimeLoopReader::~TimeLoopReader ( )

Frees resources.

Definition at line 60 of file TimeLoopReader.cc.

Member Function Documentation

◆ readTimeLoops()

void Arcane::TimeLoopReader::readTimeLoops ( )

◆ registerTimeLoops()

void Arcane::TimeLoopReader::registerTimeLoops ( ISubDomain * sd)

Registers the list of time loops in the manager sd.

Definition at line 233 of file TimeLoopReader.cc.

References Arcane::ITimeLoopMng::registerTimeLoop(), and Arcane::ISubDomain::timeLoopMng().

Referenced by Arcane::InternalInfosDumper::dumpArcaneDatabase(), and Arcane::ArcaneCodeService::initCase().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setUsedTimeLoop()

void Arcane::TimeLoopReader::setUsedTimeLoop ( ISubDomain * sd)

Positions the used time loop in the manager sd.

Definition at line 68 of file TimeLoopReader.cc.

References ARCANE_FATAL, Arcane::ISubDomain::caseDocument(), Arcane::TraceAccessor::error(), Arcane::TraceAccessor::info(), Arcane::XmlNode::null(), Arcane::ITimeLoopMng::setUsedTimeLoop(), Arcane::ICaseDocument::timeloopElement(), Arcane::ISubDomain::timeLoopMng(), and Arcane::XmlNode::value().

Referenced by Arcane::ArcaneCodeService::initCase().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ timeLoopName()

const String & Arcane::TimeLoopReader::timeLoopName ( ) const
inline

name of the time loop to execute.

Definition at line 65 of file TimeLoopReader.h.

◆ timeLoops()

TimeLoopCollection Arcane::TimeLoopReader::timeLoops ( ) const
inline

List of read time loops.

Definition at line 68 of file TimeLoopReader.h.

Referenced by Arcane::InternalInfosDumper::dumpArcaneDatabase(), and Arcane::InternalInfosDumper::dumpInternalAllInfos().

Here is the caller graph for this function:

Member Data Documentation

◆ m_application

IApplication* Arcane::TimeLoopReader::m_application
private

Supervisor.

Definition at line 72 of file TimeLoopReader.h.

Referenced by readTimeLoops(), and TimeLoopReader().

◆ m_time_loop_name

String Arcane::TimeLoopReader::m_time_loop_name
private

Definition at line 74 of file TimeLoopReader.h.

◆ m_time_loops

TimeLoopList Arcane::TimeLoopReader::m_time_loops
private

Definition at line 73 of file TimeLoopReader.h.


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