Class allowing access to shared elements of the variable in shared memory. More...
#include <arcane/core/MachineShMemWinVariable.h>
Public Member Functions | |
| template<Int32 Row, Int32 Column> | |
| MachineShMemWinMeshMatrixMDVariableT (MeshMatrixMDVariableRefT< ItemType, DataType, Row, Column, Extents > var) | |
| Constructor. | |
| Public Member Functions inherited from Arcane::MachineShMemWinMDVariableT< ItemType, DataType, Extents::template AddedFirstLastExtentsType< DynExtent, DynExtent > > | |
| ConstArrayView< Int32 > | machineRanks () const |
| Method to get the ranks that possess a segment in the window. | |
| void | barrier () const |
| Method to wait until all processes/threads on the node call this method to continue execution. | |
| MDSpan< DataType, typename MDDimType< Extents::rank()+1 >::DimType > | view (Int32 rank) const |
| Method to get a view of the variable from another subdomain on the node. | |
| MDSpan< DataType, Extents > | operator() (Int32 rank, Int32 notlocal_id) |
| Method to get the multi-dimensional array of an item from another subdomain. | |
| void | updateVariable () |
| Method to update this object after a change in the mesh and/or after a resizing of the variable. | |
Private Types | |
| using | AddedFirstLastExtentsType = Extents::template AddedFirstLastExtentsType<DynExtent, DynExtent> |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::MachineShMemWinMDVariableT< ItemType, DataType, Extents::template AddedFirstLastExtentsType< DynExtent, DynExtent > > | |
| MachineShMemWinMDVariableT (MeshVariableArrayRefT< ItemType, DataType > var) | |
| Constructor. | |
Class allowing access to shared elements of the variable in shared memory.
It is necessary that this variable be allocated in shared memory with the property "IVariable::PInShMem".
This class works for matrix mesh variables with a maximum dimension of 1.
If the mesh and/or the variable size changes when an object of this type is used, it is necessary to call the updateVariable() method.
Definition at line 621 of file MachineShMemWinVariable.h.
|
private |
Definition at line 624 of file MachineShMemWinVariable.h.
|
inlineexplicit |
Constructor.
| var | Variable having the property "IVariable::PInShMem". |
Definition at line 633 of file MachineShMemWinVariable.h.