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

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