Arcane
v3.14.11.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
PointToPointInfo.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
/* PointToPointInfo.cc (C) 2000-2020 */
9
/* */
10
/* Informations pour envoyer/recevoir un message point à point. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
#include "arccore/message_passing/PointToPointInfo.h"
15
16
#include <iostream>
17
18
/*---------------------------------------------------------------------------*/
19
/*---------------------------------------------------------------------------*/
20
21
namespace
Arccore
22
{
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
27
void
MessagePassing::PointToPointInfo::
28
print(std::ostream& o)
const
29
{
30
if
(m_type==Type::T_Null)
31
o <<
"(null)"
;
32
else
if
(m_type==T_RankTag)
33
o <<
"(rank="
<< m_rank <<
",tag="
<< tag <<
")"
;
34
else
35
o << m_message_id;
36
}
37
38
/*---------------------------------------------------------------------------*/
39
/*---------------------------------------------------------------------------*/
40
41
}
// End namespace Arccore
42
43
/*---------------------------------------------------------------------------*/
44
/*---------------------------------------------------------------------------*/
Arccore
Espace de nom de Arccore.
Definition
ArcaneTypes.h:24
arccore
message_passing
PointToPointInfo.cc
Généré le Lundi 25 Novembre 2024 02:57:47 pour Arcane par
1.9.8