Skip to content

Struct TempLat::SaveBlockGeometry

template <size_t NDim>

ClassList > TempLat > SaveBlockGeometry

The block of a lattice dataset that the calling rank writes: one hyperslab, whatever the MPI decomposition and whatever the sparse limits. More...

  • #include <blockgeometry.h>

Public Attributes

Type Name
device::IdxArray< NDim > count = {}
extent of this rank's hyperslab, per dimension
device::IdxArray< NDim > first = {}
first global lattice coordinate written, per dimension
device::IdxArray< NDim > offset = {}
offset of the hyperslab in the dataset, per dimension
device::IdxArray< NDim > step = {}
coordinate stride between consecutive samples

Public Functions

Type Name
bool isEmpty () const
True when this rank writes nothing at all, which is legal: the transfer mode is H5FD_MPIO_INDEPENDENT, so a rank may simply skip its H5Dwrite.
device::Idx totalCount () const

Detailed Description

Dimensions are in lattice order, which is also file order and memory order: the configuration space layout is never transposed (only the Fourier layout sets a transposition map), so the d-th dataset dimension is the d-th memory dimension.

Public Attributes Documentation

variable count

extent of this rank's hyperslab, per dimension

device::IdxArray<NDim> TempLat::SaveBlockGeometry< NDim >::count;


variable first

first global lattice coordinate written, per dimension

device::IdxArray<NDim> TempLat::SaveBlockGeometry< NDim >::first;


variable offset

offset of the hyperslab in the dataset, per dimension

device::IdxArray<NDim> TempLat::SaveBlockGeometry< NDim >::offset;


variable step

coordinate stride between consecutive samples

device::IdxArray<NDim> TempLat::SaveBlockGeometry< NDim >::step;


Public Functions Documentation

function isEmpty

True when this rank writes nothing at all, which is legal: the transfer mode is H5FD_MPIO_INDEPENDENT, so a rank may simply skip its H5Dwrite.

inline bool TempLat::SaveBlockGeometry::isEmpty () const


function totalCount

inline device::Idx TempLat::SaveBlockGeometry::totalCount () const


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/IO/HDF5/helpers/blockgeometry.h