Arcane
v3.16.6.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
SequentialSection.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2025 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
/* SequentialSection.h (C) 2000-2025 */
9
/* */
10
/* Section du code à exécuter séquentiellement. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_CORE_SEQUENTIALSECTION_H
13
#define ARCANE_CORE_SEQUENTIALSECTION_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/utils/ParallelFatalErrorException.h"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
58
class
ARCANE_CORE_EXPORT SequentialSection
59
{
60
public
:
61
62
explicit
SequentialSection(
IParallelMng
*);
63
explicit
SequentialSection(
ISubDomain
*);
64
~SequentialSection() ARCANE_NOEXCEPT_FALSE;
65
66
public
:
67
68
void
setError(
bool
is_error);
69
70
private
:
71
72
IParallelMng
* m_parallel_mng =
nullptr
;
73
bool
m_has_error =
false
;
74
75
void
_init();
76
void
_sendError();
77
};
78
79
/*---------------------------------------------------------------------------*/
80
/*---------------------------------------------------------------------------*/
81
82
}
// namespace Arcane
83
84
/*---------------------------------------------------------------------------*/
85
/*---------------------------------------------------------------------------*/
86
87
#endif
88
Arcane::IParallelMng
Interface du gestionnaire de parallélisme pour un sous-domaine.
Definition
IParallelMng.h:52
Arcane::ISubDomain
Interface du gestionnaire d'un sous-domaine.
Definition
ISubDomain.h:74
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
arcane
core
SequentialSection.h
Généré le Lundi 23 Juin 2025 03:23:26 pour Arcane par
1.13.2