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

◆ use_transposed_io()

static bool pism::io::use_transposed_io ( std::vector< AxisType dimension_types)
static

Check if the storage order of a variable in the current file matches the memory storage order used by PISM.

Parameters
[in]fileinput file
var_namename of the variable to check
Returns
false if storage orders match, true otherwise

Definition at line 353 of file io_helpers.cc.

References dimension_types(), pism::T_AXIS, pism::X_AXIS, pism::Y_AXIS, and pism::Z_AXIS.

Referenced by read_distributed_array(), and read_for_interpolation().