Arcane
v3.14.10.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-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
/* SynchronizerMatrixPrinter.h (C) 2011-2011 */
9
/* */
10
/* Affiche la matrix de synchronization. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_PARALLEL_SYNCHRONIZATIONMATRIXPRINTER_H
13
#define ARCANE_PARALLEL_SYNCHRONIZATIONMATRIXPRINTER_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/Parallel.h"
18
#include "arcane/ArcaneTypes.h"
19
#include "arcane/IVariableSynchronizer.h"
20
#include <iostream>
21
22
/*---------------------------------------------------------------------------*/
23
/*---------------------------------------------------------------------------*/
24
25
ARCANE_BEGIN_NAMESPACE
26
27
/*---------------------------------------------------------------------------*/
28
/*---------------------------------------------------------------------------*/
32
class
ARCANE_CORE_EXPORT
SynchronizerMatrixPrinter
33
{
34
public
:
35
36
SynchronizerMatrixPrinter
(
IVariableSynchronizer
* synchronizer);
37
virtual
~SynchronizerMatrixPrinter
() {}
38
39
public
:
40
void
print(std::ostream & o)
const
;
41
42
private
:
43
IVariableSynchronizer
* m_synchronizer;
44
};
45
46
/*---------------------------------------------------------------------------*/
47
/*---------------------------------------------------------------------------*/
48
49
std::ostream &
50
operator<<(std::ostream & o,
const
SynchronizerMatrixPrinter & s)
51
{
52
s.print(o);
53
return
o;
54
}
55
56
/*---------------------------------------------------------------------------*/
57
/*---------------------------------------------------------------------------*/
58
59
ARCANE_END_NAMESPACE
60
61
/*---------------------------------------------------------------------------*/
62
/*---------------------------------------------------------------------------*/
63
64
#endif
65
Arcane::IVariableSynchronizer
Interface d'un service de synchronisation de variable.
Definition
IVariableSynchronizer.h:42
Arcane::SynchronizerMatrixPrinter
Opérations parallèle sur les entités fantômes.
Definition
SynchronizerMatrixPrinter.h:33
Arcane::SynchronizerMatrixPrinter::~SynchronizerMatrixPrinter
virtual ~SynchronizerMatrixPrinter()
Libère les ressources.
Definition
SynchronizerMatrixPrinter.h:37
arcane
core
SynchronizerMatrixPrinter.h
Généré le Lundi 18 Novembre 2024 03:01:05 pour Arcane par
1.9.8