12#ifndef ARCANE_MATERIALS_INTERNAL_MESHMATERIALSYNCHRONIZERIMPLACC_H
13#define ARCANE_MATERIALS_INTERNAL_MESHMATERIALSYNCHRONIZERIMPLACC_H
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/utils/ArrayView.h"
21#include "arcane/core/MeshVariableArrayRef.h"
24#include "arcane/materials/MatItem.h"
26#include "arcane/accelerator/Accelerator.h"
27#include "arcane/materials/internal/IndexSelecter.h"
29#include "arcane/materials/internal/IMeshMaterialSynchronizerImpl.h"
53class AcceleratorMeshMaterialSynchronizerImpl
55,
public IMeshMaterialSynchronizerImpl
59 explicit AcceleratorMeshMaterialSynchronizerImpl(
IMeshMaterialMng* material_mng);
82 unsigned char temp = bytes;
83 temp |= (
Byte)(1 << bit);
89 unsigned char temp = bytes;
90 return temp & (1 << bit);
Construction of a subset of indices from a criterion.
Class for accessing an element of a read/write view.
bool synchronizeMaterialsInCells()
Synchronization of the list of materials/media of entities.
Interface for the material and environment manager of a mesh.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
MeshVariableArrayRefT< Cell, Byte > VariableCellArrayByte
Quantity at cell centers of byte array type.
Always enables tracing in Arcane parts concerning materials.
Int32 Integer
Type representing an integer.
unsigned char Byte
Type of a byte.