PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

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