12#ifndef ARCANE_CORE_MODULEMASTER_H
13#define ARCANE_CORE_MODULEMASTER_H
17#include "arcane/utils/VersionInfo.h"
19#include "arcane/core/IModuleMaster.h"
20#include "arcane/core/AbstractModule.h"
22#include "arcane/core/CommonVariables.h"
72 void dumpStandardCurves()
override;
98 void masterStartInit();
101 void masterContinueInit();
109 virtual void timeIncrementation();
113 virtual void timeStepInformation();
115 void _masterBeginLoop();
116 void _masterEndLoop();
117 void _masterStartInit();
118 void _masterContinueInit();
119 void _masterLoopExit();
120 void _masterMeshChanged();
121 void _masterRestore();
143 Real m_thm_mem_used = 0.0;
144 Real m_thm_diff_cpu = 0.0;
145 Real m_thm_global_cpu_time = 0.0;
146 Real m_thm_diff_elapsed = 0.0;
147 Real m_thm_global_elapsed_time = 0.0;
148 Real m_thm_global_time = 0.0;
150 bool m_has_thm_dump_at_iteration =
false;
154 void _dumpTimeInfo();
AbstractModule(const ModuleBuildInfo &)
Constructor from a ModuleBuildInfo.
CommonVariables(IModule *c)
Constructs the references of the common variables for the module c.
Interface of the main module.
Interface of a service operating during the time loop.
Information for building a module.
CaseOptionsMain * m_case_options_main
Instance of module options.
bool m_is_first_loop
Indicates if we are in the first execution loop.
Real m_old_cpu_time
CPU time value at the last iteration.
ModuleMaster(const ModuleBuildInfo &)
Constructor.
IModule * toModule() override
Conversion to IModule.
Real m_old_elapsed_time
Clock time value at the last iteration.
CommonVariables * commonVariables() override
Access to 'common' variables shared between all services and modules.
VersionInfo versionInfo() const override
Module version.
CaseOptionsMain * caseoptions() override
Access to module options.
UniqueArray< ITimeLoopService * > m_timeloop_services
List of time loop services.
Integer m_nb_loop
Number of calculation loops performed.
1D data vector with value semantics (STL style).
Information about a version.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
double Real
Type representing a real number.