12#ifndef ARCANE_MATERIALS_IMESHMATERIALSYNCHRONIZEBUFFER_H
13#define ARCANE_MATERIALS_IMESHMATERIALSYNCHRONIZEBUFFER_H
17#include "arcane/utils/ArrayView.h"
18#include "arcane/utils/Ref.h"
84 makeMultiBufferMeshMaterialSynchronizeBufferRef();
virtual void setNbRank(Int32 nb_rank)=0
Sets the number of ranks. This invalidates the send and receive buffers.
virtual Span< Byte > receiveBuffer(Int32 i)=0
Send buffer for the i-th buffer.
virtual Int64 totalSize() const =0
Total size allocated for the buffers.
virtual Span< Byte > sendBuffer(Int32 i)=0
Send buffer for the i-th buffer.
virtual void setReceiveBufferSize(Int32 i, Int32 new_size)=0
Sets the number of elements for the i-th receive buffer.
virtual void setSendBufferSize(Int32 i, Int32 new_size)=0
Sets the number of elements for the i-th send buffer.
virtual Int32 nbRank() const =0
Number of ranks.
virtual void allocate()=0
Allocates memory for the buffers.
Reference to an instance.
View of an array of elements of type T.
Always enables tracing in Arcane parts concerning materials.
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.