Information for sending (share) or receiving (ghost) messages. More...
#include <arcane/impl/DataSynchronizeInfo.h>
Public Member Functions | |
| Int32 | nbRank () const |
| Int64 | totalNbItem () const |
| Total number of items. | |
| Int64 | bufferDisplacement (Int32 index) const |
| Displacement in the buffer for rank index. | |
| ConstArrayView< Int32 > | localIds (Int32 index) const |
| Local IDs of entities for rank index. | |
| Int32 | nbItem (Int32 index) const |
| Number of entities for rank index. | |
Private Member Functions | |
| DataSynchronizeBufferInfoList (const DataSynchronizeInfo *sync_info, bool is_share) | |
Private Attributes | |
| friend | DataSynchronizeInfo |
| UniqueArray< Int64 > | m_displacements_base |
| Offsets in the global buffer for each rank. | |
| Int64 | m_total_nb_item = 0 |
| const DataSynchronizeInfo * | m_sync_info = nullptr |
| bool | m_is_share = false |
| If true, it is the send buffer, otherwise it is the receive buffer. | |
Information for sending (share) or receiving (ghost) messages.
Definition at line 119 of file DataSynchronizeInfo.h.
|
inlineprivate |
Definition at line 125 of file DataSynchronizeInfo.h.
Displacement in the buffer for rank index.
Definition at line 137 of file DataSynchronizeInfo.h.
References m_displacements_base.
| ConstArrayView< Int32 > Arcane::DataSynchronizeBufferInfoList::localIds | ( | Int32 | index | ) | const |
Local IDs of entities for rank index.
Definition at line 180 of file DataSynchronizeInfo.cc.
References Arcane::VariableSyncInfo::ghostIds(), m_is_share, and Arcane::VariableSyncInfo::shareIds().
Number of entities for rank index.
Definition at line 190 of file DataSynchronizeInfo.cc.
References m_is_share, Arcane::VariableSyncInfo::nbGhost(), and Arcane::VariableSyncInfo::nbShare().
Referenced by Arcane::VariableSynchronizerComputeList::_createList(), and Arcane::DataSynchronizeBufferBase::BufferInfo::initialize().
|
inline |
Definition at line 133 of file DataSynchronizeInfo.h.
|
inline |
Total number of items.
Definition at line 135 of file DataSynchronizeInfo.h.
|
private |
Definition at line 121 of file DataSynchronizeInfo.h.
|
private |
Offsets in the global buffer for each rank.
This array is filled by DataSynchronizeInfo::recompute().
Definition at line 150 of file DataSynchronizeInfo.h.
Referenced by bufferDisplacement(), and Arcane::DataSynchronizeInfo::recompute().
|
private |
If true, it is the send buffer, otherwise it is the receive buffer.
Definition at line 154 of file DataSynchronizeInfo.h.
Referenced by localIds(), and nbItem().
|
private |
Definition at line 152 of file DataSynchronizeInfo.h.
|
private |
Definition at line 151 of file DataSynchronizeInfo.h.