Arcane  v3.15.0.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MeshExchangeMng.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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/* MeshExchangeMng.h (C) 2000-2024 */
9/* */
10/* Gestionnaire des échanges de maillages entre sous-domaines. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MESHEXCHANGEMNG_H
13#define ARCANE_MESHEXCHANGEMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/core/IMeshExchangeMng.h"
19#include "arcane/core/IMesh.h"
20#include "arcane/mesh/MeshGlobal.h"
21
22/*---------------------------------------------------------------------------*/
23/*---------------------------------------------------------------------------*/
24
25ARCANE_BEGIN_NAMESPACE
26ARCANE_MESH_BEGIN_NAMESPACE
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
35class ARCANE_MESH_EXPORT MeshExchangeMng
36: public TraceAccessor
37, public IMeshExchangeMng
38{
39 public:
40
43
44 public:
45
46 IPrimaryMesh* mesh() const override;
47 IMeshExchanger* beginExchange() override;
48 void endExchange() override;
49 IMeshExchanger* exchanger() override { return m_exchanger; }
50
51 protected:
52
53 virtual IMeshExchanger* _createExchanger();
54
55 private:
56
57 IMesh* m_mesh;
58 IMeshExchanger* m_exchanger;
59};
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
64ARCANE_MESH_END_NAMESPACE
65ARCANE_END_NAMESPACE
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70#endif
Interface du gestionnaire des échanges de maillages entre sous-domaines.
virtual IPrimaryMesh * mesh() const =0
Maillage associé
virtual IMeshExchanger * beginExchange()=0
Débute un échange.
virtual void endExchange()=0
Signale que l'échange est terminé.
Gestion d'un échange de maillage entre sous-domaines.
Interface du gestionnaire des échanges de maillages entre sous-domaines.
IMeshExchanger * exchanger() override
Échangeur courant.