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
26
ARCANE_BEGIN_NAMESPACE
27
28
/*---------------------------------------------------------------------------*/
29
/*---------------------------------------------------------------------------*/
30
31
class
ITimeLoop;
32
class
IApplication;
33
34
/*---------------------------------------------------------------------------*/
35
/*---------------------------------------------------------------------------*/
42
class
ARCANE_IMPL_EXPORT
TimeLoopReader
43
:
public
TraceAccessor
44
{
45
public
:
46
48
TimeLoopReader
(
IApplication
*
sm
);
49
~TimeLoopReader
();
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
70
IApplication
*
m_application
;
71
TimeLoopList
m_time_loops;
72
String
m_time_loop_name;
73
};
74
75
/*---------------------------------------------------------------------------*/
76
/*---------------------------------------------------------------------------*/
77
78
ARCANE_END_NAMESPACE
79
80
/*---------------------------------------------------------------------------*/
81
/*---------------------------------------------------------------------------*/
82
83
#endif
Arcane::Collection< ITimeLoop * >
Arcane::IApplication
Interface de l'application.
Definition
IApplication.h:57
Arcane::ISubDomain
Interface du gestionnaire d'un sous-domaine.
Definition
ISubDomain.h:74
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane::List< ITimeLoop * >
Arcane::TimeLoopReader
Functor de chargement d'une boucle en temps.
Definition
TimeLoopReader.h:44
Arcane::TimeLoopReader::timeLoops
TimeLoopCollection timeLoops() const
Liste des boucles en temps lues.
Definition
TimeLoopReader.h:66
Arcane::TimeLoopReader::timeLoopName
const String & timeLoopName() const
nom de la boucle en temps à exécuter.
Definition
TimeLoopReader.h:63
Arcane::TimeLoopReader::m_application
IApplication * m_application
Superviseur.
Definition
TimeLoopReader.h:70
Arccore::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arccore::TraceAccessor
Classe d'accès aux traces.
Definition
arccore/src/trace/arccore/trace/TraceAccessor.h:39
arcane
impl
TimeLoopReader.h
Généré le Lundi 18 Novembre 2024 03:01:34 pour Arcane par
1.9.8