PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ pio_io_decomposition()

int pism::Grid::pio_io_decomposition ( int  dof,
int  output_datatype 
) const

initialize an I/O decomposition

Parameters
[in]dofsize of the last dimension (usually z)
[in]output_datatypean integer specifying a data type (PIO_DOUBLE, etc)

Definition at line 1361 of file Grid.cc.

References count, pism::Grid::Impl::ctx, pism::RuntimeError::formatted(), pism::Grid::Impl::io_decompositions, m_impl, Mx(), My(), PISM_ERROR_LOCATION, xm(), xs(), ym(), and ys().

Referenced by pism::io::ParallelIO::write_darray_impl().