Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
PointToPointMessageInfo.cc
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
/* PointToPointMessageInfo.cc (C) 2000-2020 */
9
/* */
10
/* Informations pour les messages point à point. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
#include "arccore/message_passing/PointToPointMessageInfo.h"
15
16
#include <iostream>
17
18
/*---------------------------------------------------------------------------*/
19
/*---------------------------------------------------------------------------*/
20
21
namespace
Arccore::MessagePassing
22
{
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
27
void
PointToPointMessageInfo::
28
print
(std::ostream& o)
const
29
{
30
if
(m_type==Type::T_Null)
31
o <<
"(null)"
;
32
else
if
(m_type==Type::T_RankTag)
33
o <<
"(destination="
<< m_destination_rank <<
",emiter="
<< m_emiter_rank
34
<<
",tag="
<< m_tag <<
")"
;
35
else
36
o << m_message_id;
37
}
38
39
/*---------------------------------------------------------------------------*/
40
/*---------------------------------------------------------------------------*/
41
42
}
// End namespace Arccore::MessagePassing
43
44
/*---------------------------------------------------------------------------*/
45
/*---------------------------------------------------------------------------*/
Arccore::MessagePassing::PointToPointMessageInfo::print
void print(std::ostream &o) const
Affiche le message.
Definition
PointToPointMessageInfo.cc:28
Arccore::MessagePassing
Espace de nommage contenant les types et déclarations qui gèrent le mécanisme de parallélisme par éch...
Definition
MpiParallelDispatch.cc:331
arccore
src
message_passing
arccore
message_passing
PointToPointMessageInfo.cc
Généré le Lundi 18 Novembre 2024 03:03:16 pour Arcane par
1.9.8