12#ifndef ARCANE_MATERIALS_INTERNAL_MESHMATERIALVARIABLESYNCHRONIZER_H
13#define ARCANE_MATERIALS_INTERNAL_MESHMATERIALVARIABLESYNCHRONIZER_H
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/utils/Array.h"
19#include "arcane/utils/Ref.h"
21#include "arcane/materials/MatVarIndex.h"
22#include "arcane/materials/IMeshMaterialVariableSynchronizer.h"
71 eMemoryRessource m_buffer_memory_ressource = eMemoryRessource::UnifiedMemory;
73 Int32 m_use_accelerator_mode = -1;
Execution queue for an accelerator.
Base class for 1D data vectors.
Constant view of an array of type T.
Interface of a variable synchronization service.
View over a list of cells with environment information.
Interface for the material and environment manager of a mesh.
Interface of the material variable synchronizer.
Ref< IMeshMaterialSynchronizeBuffer > commonBuffer() override
Common buffer for messages.
eMemoryRessource bufferMemoryRessource() const override
Memory resource to use for communication buffers.
IVariableSynchronizer * variableSynchronizer() override
Associated classical variable synchronizer.
void checkRecompute() override
Recalculates synchronization information if necessary.
void recompute() override
Recalculates synchronization information.
ConstArrayView< MatVarIndex > ghostItems(Int32 index) override
List of ghost MatVarIndex for index rank index in the variableSynchronizer::communicatingRanks() arra...
ConstArrayView< MatVarIndex > sharedItems(Int32 index) override
List of shared MatVarIndex for index rank index in the variableSynchronizer::communicatingRanks() arr...
Reference to an instance.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
1D data vector with value semantics (STL style).
Always enables tracing in Arcane parts concerning materials.
MatVarSpace
Definition space for a material variable.
class ARCANE_MATERIALS_EXPORT(64) SimdMatVarIndex
SIMD indexer on a component.
std::int64_t Int64
Signed integer type of 64 bits.
Arcane::eMemoryResource eMemoryRessource
Typedef for the historical Arcane version (with 2's').
std::int32_t Int32
Signed integer type of 32 bits.