PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
Loading...
Searching...
No Matches

◆ 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 192 of file Array.cc.

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

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