Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ParallelReplication.cc
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2023 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
/* ParallelReplicationInfo.cc (C) 2000-2023 */
9
/* */
10
/* Informations sur la réplication de sous-domaines. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
#include "arcane/impl/ParallelReplication.h"
15
#include "arcane/IParallelMng.h"
16
17
/*---------------------------------------------------------------------------*/
18
/*---------------------------------------------------------------------------*/
19
20
namespace
Arcane
21
{
22
23
/*---------------------------------------------------------------------------*/
24
/*---------------------------------------------------------------------------*/
25
26
ParallelReplication::
27
ParallelReplication
()
28
: m_is_active(
false
)
29
, m_nb_replication(1)
30
, m_replication_rank(0)
31
, m_is_master_rank(
true
)
32
, m_master_replication_rank(0)
33
{
34
}
35
36
/*---------------------------------------------------------------------------*/
37
/*---------------------------------------------------------------------------*/
38
39
ParallelReplication::
40
ParallelReplication
(Int32
replica_rank
,Int32
nb_replica
,
Ref<IParallelMng>
replica_pm
)
41
: m_is_active(
nb_replica
!=1)
42
, m_nb_replication(
nb_replica
)
43
, m_replication_rank(
replica_rank
)
44
, m_is_master_rank(
replica_rank
==0)
45
, m_master_replication_rank(0)
46
, m_replica_parallel_mng(
replica_pm
)
47
{
48
}
49
50
/*---------------------------------------------------------------------------*/
51
/*---------------------------------------------------------------------------*/
52
53
ParallelReplication::
54
~ParallelReplication()
55
{
56
}
57
58
/*---------------------------------------------------------------------------*/
59
/*---------------------------------------------------------------------------*/
60
61
}
// End namespace Arcane
62
63
/*---------------------------------------------------------------------------*/
64
/*---------------------------------------------------------------------------*/
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane::ParallelReplication::ParallelReplication
ParallelReplication()
Constructeur sans réplication.
Definition
ParallelReplication.cc:27
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
arcane
impl
ParallelReplication.cc
Généré le Lundi 18 Novembre 2024 03:01:33 pour Arcane par
1.9.8