Arcane
v3.16.6.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
SynchronizerMatrixPrinter.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
/* SynchronizerMatrixPrinter.h (C) 2011-2025 */
9
/* */
10
/* Affiche la matrix de synchronization. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_CORE_SYNCHRONIZATIONMATRIXPRINTER_H
13
#define ARCANE_CORE_SYNCHRONIZATIONMATRIXPRINTER_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "
arcane/core/Parallel.h
"
18
#include "arcane/core/IVariableSynchronizer.h"
19
20
#include <iostream>
21
22
/*---------------------------------------------------------------------------*/
23
/*---------------------------------------------------------------------------*/
24
25
namespace
Arcane
26
{
27
28
/*---------------------------------------------------------------------------*/
29
/*---------------------------------------------------------------------------*/
33
class
ARCANE_CORE_EXPORT SynchronizerMatrixPrinter
34
{
35
public
:
36
37
explicit
SynchronizerMatrixPrinter(
IVariableSynchronizer
* synchronizer);
38
virtual
~SynchronizerMatrixPrinter
() =
default
;
39
40
public
:
41
42
void
print(std::ostream& o)
const
;
43
friend
std::ostream&
44
operator<<(std::ostream& o,
const
SynchronizerMatrixPrinter& s)
45
{
46
s.print(o);
47
return
o;
48
}
49
50
private
:
51
52
IVariableSynchronizer
* m_synchronizer =
nullptr
;
53
};
54
55
/*---------------------------------------------------------------------------*/
56
/*---------------------------------------------------------------------------*/
57
58
}
// namespace Arcane
59
60
/*---------------------------------------------------------------------------*/
61
/*---------------------------------------------------------------------------*/
62
63
#endif
Parallel.h
Fichier contenant les déclarations concernant le modèle de programmation par échange de message.
Arcane::IVariableSynchronizer
Interface d'un service de synchronisation de variable.
Definition
IVariableSynchronizer.h:42
Arcane::SynchronizerMatrixPrinter::~SynchronizerMatrixPrinter
virtual ~SynchronizerMatrixPrinter()=default
Libère les ressources.
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
arcane
core
SynchronizerMatrixPrinter.h
Généré le Lundi 23 Juin 2025 03:23:27 pour Arcane par
1.13.2