Arcane
4.1.12.0
User documentation
Loading...
Searching...
No Matches
SynchronizerMatrixPrinter.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2026 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
/* Prints the synchronization matrix. */
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
/*---------------------------------------------------------------------------*/
30
31
/*!
32
* \brief Parallel operations on ghost entities.
33
*/
34
class
ARCANE_CORE_EXPORT SynchronizerMatrixPrinter
35
{
36
public
:
37
38
explicit
SynchronizerMatrixPrinter(
IVariableSynchronizer
* synchronizer);
39
virtual
~SynchronizerMatrixPrinter
() =
default
;
//!< Frees resources.
40
41
public
:
42
43
void
print(std::ostream& o)
const
;
44
friend
std::ostream&
45
operator<<(std::ostream& o,
const
SynchronizerMatrixPrinter& s)
46
{
47
s.print(o);
48
return
o;
49
}
50
51
private
:
52
53
IVariableSynchronizer
* m_synchronizer =
nullptr
;
54
};
55
56
/*---------------------------------------------------------------------------*/
57
/*---------------------------------------------------------------------------*/
58
59
}
// namespace Arcane
60
61
/*---------------------------------------------------------------------------*/
62
/*---------------------------------------------------------------------------*/
63
64
#endif
Parallel.h
File containing declarations concerning the message passing model.
Arcane::IVariableSynchronizer
Interface of a variable synchronization service.
Definition
IVariableSynchronizer.h:43
Arcane::SynchronizerMatrixPrinter::~SynchronizerMatrixPrinter
virtual ~SynchronizerMatrixPrinter()=default
Frees resources.
Arcane
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition
AbstractCaseDocumentVisitor.cc:21
arcane
core
SynchronizerMatrixPrinter.h
Generated on
for Arcane by
1.16.1