Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
IMeshMaterialSynchronizerImpl.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/* IMeshMaterialSynchronizerImpl.h (C) 2000-2024 */
9/* */
10/* Synchronization of the list of materials/media of entities. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MATERIALS_INTERNAL_IMESHMATERIALSYNCHRONIZERIMPL_H
13#define ARCANE_MATERIALS_INTERNAL_IMESHMATERIALSYNCHRONIZERIMPL_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/utils/ArrayView.h"
19
21
23#include "arcane/materials/MatItem.h"
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28namespace Arcane::Materials
29{
30
31/*---------------------------------------------------------------------------*/
32/*---------------------------------------------------------------------------*/
33
42class IMeshMaterialSynchronizerImpl
43{
44 protected:
45
46 explicit IMeshMaterialSynchronizerImpl() {};
47
48 public:
49
50 virtual ~IMeshMaterialSynchronizerImpl() {};
51
60 virtual bool synchronizeMaterialsInCells() = 0;
61};
62
63/*---------------------------------------------------------------------------*/
64/*---------------------------------------------------------------------------*/
65
66} // End namespace Arcane::Materials
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71#endif
virtual bool synchronizeMaterialsInCells()=0
Synchronization of the list of materials/media of entities.
Always enables tracing in Arcane parts concerning materials.