Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
TimeLoopReader.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* TimeLoopReader.h (C) 2000-2006 */
9/* */
10/* Chargement d'une boucle en temps. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MAIN_TIMELOOPREADER_H
13#define ARCANE_MAIN_TIMELOOPREADER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/List.h"
18#include "arcane/utils/String.h"
19#include "arcane/utils/TraceAccessor.h"
20
21#include "arcane/ArcaneTypes.h"
22
23/*---------------------------------------------------------------------------*/
24/*---------------------------------------------------------------------------*/
25
26ARCANE_BEGIN_NAMESPACE
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
30
31class ITimeLoop;
32class IApplication;
33
34/*---------------------------------------------------------------------------*/
35/*---------------------------------------------------------------------------*/
42class ARCANE_IMPL_EXPORT TimeLoopReader
43: public TraceAccessor
44{
45 public:
46
50
51 public:
52
54 void readTimeLoops();
55
57 void registerTimeLoops(ISubDomain* sd);
58
60 void setUsedTimeLoop(ISubDomain* sd);
61
63 const String& timeLoopName() const { return m_time_loop_name; }
64
66 TimeLoopCollection timeLoops() const { return m_time_loops; }
67
68 private:
69
71 TimeLoopList m_time_loops;
72 String m_time_loop_name;
73};
74
75/*---------------------------------------------------------------------------*/
76/*---------------------------------------------------------------------------*/
77
78ARCANE_END_NAMESPACE
79
80/*---------------------------------------------------------------------------*/
81/*---------------------------------------------------------------------------*/
82
83#endif
Interface de l'application.
Interface du gestionnaire d'un sous-domaine.
Definition ISubDomain.h:74
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Functor de chargement d'une boucle en temps.
TimeLoopCollection timeLoops() const
Liste des boucles en temps lues.
const String & timeLoopName() const
nom de la boucle en temps à exécuter.
IApplication * m_application
Superviseur.
Chaîne de caractères unicode.