Arcane  v3.14.10.0
Documentation utilisateur
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
25ARCANE_BEGIN_NAMESPACE
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29/*!
30 * \brief Opérations parallèle sur les entités fantômes.
31 */
32class ARCANE_CORE_EXPORT SynchronizerMatrixPrinter
33{
34public:
35
37 virtual ~SynchronizerMatrixPrinter() {} //!< Libère les ressources.
38
39public:
40 void print(std::ostream & o) const;
41
42private:
43 IVariableSynchronizer * m_synchronizer;
44};
45
46/*---------------------------------------------------------------------------*/
47/*---------------------------------------------------------------------------*/
48
49std::ostream &
50operator<<(std::ostream & o, const SynchronizerMatrixPrinter & s)
51{
52 s.print(o);
53 return o;
54}
55
56/*---------------------------------------------------------------------------*/
57/*---------------------------------------------------------------------------*/
58
59ARCANE_END_NAMESPACE
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
64#endif
65
Interface d'un service de synchronisation de variable.
Opérations parallèle sur les entités fantômes.
virtual ~SynchronizerMatrixPrinter()
Libère les ressources.