GridFormat 0.2.1
I/O-Library for grid-like data structures
|
Helper class to store processor offsets in parallel writes.
#include <hdf_common.hpp>
Public Member Functions | |
IOContext (int _my_rank, int _num_ranks, std::vector< std::size_t > _rank_cells, std::vector< std::size_t > _rank_points) | |
Static Public Member Functions | |
template<Concepts::Grid Grid, Concepts::Communicator Communicator> | |
static IOContext | from (const Grid &grid, const Communicator &comm, int root_rank=0) |