Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
MeshMaterialExchangeMng.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/* MeshMaterialExchangeMng.h (C) 2000-2016 */
9/* */
10/* Management of material exchange between subdomains. */
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
23namespace Arcane
24{
26}
27
28/*---------------------------------------------------------------------------*/
29/*---------------------------------------------------------------------------*/
30
31namespace Arcane::Materials
32{
33
34/*---------------------------------------------------------------------------*/
35/*---------------------------------------------------------------------------*/
36
37class MeshMaterialMng;
38
39/*---------------------------------------------------------------------------*/
40/*---------------------------------------------------------------------------*/
41
46class MeshMaterialExchangeMng
47: public TraceAccessor
48{
49 public:
50
52 class ExchangeCellStep;
53
54 public:
55
56 MeshMaterialExchangeMng(MeshMaterialMng* material_mng);
57 virtual ~MeshMaterialExchangeMng();
58
59 public:
60
61 void build();
62 IMeshMaterialMng* materialMng() const;
63 void registerFactory();
64 bool isInMeshMaterialExchange() const
65 {
66 return m_is_in_mesh_material_exchange;
67 }
68
69 public:
70
71 MeshMaterialMng* m_material_mng;
72 IItemFamilySerializeStepFactory* m_serialize_cells_factory;
73 bool m_is_in_mesh_material_exchange;
74};
75
76/*---------------------------------------------------------------------------*/
77/*---------------------------------------------------------------------------*/
78
79} // namespace Arcane::Materials
80
81/*---------------------------------------------------------------------------*/
82/*---------------------------------------------------------------------------*/
83
84#endif
Factory for creating a step in the serialization of entity families.
Interface for the material and environment manager of a mesh.
void registerFactory()
Registers the factory for exchanges.
Implementation of a material manager.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
Always enables tracing in Arcane parts concerning materials.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --