Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ transpose() [2/2]

static bool pism::io::transpose ( 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 344 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().