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

◆ int_to_normtype()

static NormType pism::array::int_to_normtype ( int  input)
static

Convert from int to PETSc's NormType.

Parameters
[in]inputnorm type as an integer
Returns
norm type as PETSc's NormType.

Definition at line 220 of file Array.cc.

References pism::RuntimeError::formatted(), and PISM_ERROR_LOCATION.

Referenced by pism::array::Array::norm().