Arcane  v3.14.10.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-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/* MeshExchangeMng.h (C) 2000-2016 */
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/IMeshExchangeMng.h"
19#include "arcane/mesh/MeshGlobal.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24ARCANE_BEGIN_NAMESPACE
25ARCANE_MESH_BEGIN_NAMESPACE
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
30class DynamicMesh;
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
39class ARCANE_MESH_EXPORT MeshExchangeMng
40: public TraceAccessor
41, public IMeshExchangeMng
42{
43 public:
44
45 MeshExchangeMng(DynamicMesh* mesh);
47
48 public:
49
50 IPrimaryMesh* mesh() const override;
51 IMeshExchanger* beginExchange() override;
52 void endExchange() override;
53 IMeshExchanger* exchanger() override { return m_exchanger; }
54
55 protected:
56
57 virtual IMeshExchanger* _createExchanger();
58
59 private:
60
61 DynamicMesh* m_mesh;
62 IMeshExchanger* m_exchanger;
63};
64
65/*---------------------------------------------------------------------------*/
66/*---------------------------------------------------------------------------*/
67
68ARCANE_MESH_END_NAMESPACE
69ARCANE_END_NAMESPACE
70
71/*---------------------------------------------------------------------------*/
72/*---------------------------------------------------------------------------*/
73
74#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.