Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::MachineShMemWinMeshMatrixMDVariableT< ItemType, DataType, Extents > Class Template Reference

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< Int32machineRanks () 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.

Additional Inherited Members

Protected Member Functions inherited from Arcane::MachineShMemWinMDVariableT< ItemType, DataType, Extents::template AddedFirstLastExtentsType< DynExtent, DynExtent > >
 MachineShMemWinMDVariableT (MeshVariableArrayRefT< ItemType, DataType > var)
 Constructor.

Detailed Description

template<class ItemType, class DataType, class Extents>
class Arcane::MachineShMemWinMeshMatrixMDVariableT< ItemType, DataType, Extents >

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.

Constructor & Destructor Documentation

◆ MachineShMemWinMeshMatrixMDVariableT()

template<class ItemType, class DataType, class Extents>
template<Int32 Row, Int32 Column>
Arcane::MachineShMemWinMeshMatrixMDVariableT< ItemType, DataType, Extents >::MachineShMemWinMeshMatrixMDVariableT ( MeshMatrixMDVariableRefT< ItemType, DataType, Row, Column, Extents > var)
inlineexplicit

The documentation for this class was generated from the following file: