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
20namespace Arcane
21{
22
23/*---------------------------------------------------------------------------*/
24/*---------------------------------------------------------------------------*/
25
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
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
53ParallelReplication::
54~ParallelReplication()
55{
56}
57
58/*---------------------------------------------------------------------------*/
59/*---------------------------------------------------------------------------*/
60
61} // End namespace Arcane
62
63/*---------------------------------------------------------------------------*/
64/*---------------------------------------------------------------------------*/
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
ParallelReplication()
Constructeur sans réplication.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-