Class TempLat::GhostSubarray
template <size_t NDim>
ClassList > TempLat > GhostSubarray
A class which holds an MPI_Datatype which is a subarray of the lattice, created by MPI_Type_create_subarray. The subarray is the ghost padding of the lattice, in one single dimension. More...
#include <ghostsubarray.h>
Public Functions
| Type | Name |
|---|---|
| GhostSubarray (LayoutStruct< NDim > layout, device::Idx dimension, device::Idx depth, MPI_Datatype atomType) Constructor. |
|
| operator MPI_Datatype () const |
|
| ~GhostSubarray () |
Detailed Description
Unit test: ctest -R test-ghostsubarray
Public Functions Documentation
function GhostSubarray
Constructor.
inline TempLat::GhostSubarray::GhostSubarray (
LayoutStruct < NDim > layout,
device::Idx dimension,
device::Idx depth,
MPI_Datatype atomType
)
Parameters:
layoutThe layout of the memory.dimensionThe dimension in which to create the array.depthThe number of ghost steps at either side of the array.atomTypethe MPI_Datatype corresponding to the elements which are laid out in the layout.
function operator MPI_Datatype
function ~GhostSubarray
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/ghostcells/ghostsubarray.h