Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
MeshMaterialExchangeMng.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/* MeshMaterialExchangeMng.h (C) 2000-2016 */
9/* */
10/* Gestion de l'échange des matériaux entre sous-domaines. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MATERIALS_MESHMATERIALEXCHANGEMNG_H
13#define ARCANE_MATERIALS_MESHMATERIALEXCHANGEMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/TraceAccessor.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23ARCANE_BEGIN_NAMESPACE
24class IItemFamilySerializeStepFactory;
25MATERIALS_BEGIN_NAMESPACE
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
30class MeshMaterialMng;
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
34/*!
35 * \internal
36 * \brief Gestion de l'échange des matériaux entre sous-domaines.
37 */
39: public TraceAccessor
40{
41 public:
42 class ExchangeCellFactory;
43 class ExchangeCellStep;
44 public:
45
46 MeshMaterialExchangeMng(MeshMaterialMng* material_mng);
48
49 public:
50
51 void build();
52 IMeshMaterialMng* materialMng() const;
53 void registerFactory();
54 bool isInMeshMaterialExchange() const
55 {
56 return m_is_in_mesh_material_exchange;
57 }
58
59 public:
60
61 MeshMaterialMng* m_material_mng;
62 IItemFamilySerializeStepFactory* m_serialize_cells_factory;
63 bool m_is_in_mesh_material_exchange;
64};
65
66/*---------------------------------------------------------------------------*/
67/*---------------------------------------------------------------------------*/
68
69/*---------------------------------------------------------------------------*/
70/*---------------------------------------------------------------------------*/
71
72MATERIALS_END_NAMESPACE
73ARCANE_END_NAMESPACE
74
75/*---------------------------------------------------------------------------*/
76/*---------------------------------------------------------------------------*/
77
78#endif
Fabrique pour créer une étape de la sérialisation des familles d'entités.
Interface du gestionnaire des matériaux et des milieux d'un maillage.