PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
|
◆ norm()Computes the norm of all the components of an Array. See comment for range(); because local Vecs are VECSEQ, needs a reduce operation. See src/trypetsc/localVecMax.c. Definition at line 668 of file Array.cc. References pism::array::Array::Impl::dof, pism::RuntimeError::formatted(), pism::array::Array::Impl::ghosted, pism::GlobalMax(), pism::GlobalSum(), pism::array::Array::Impl::grid, pism::array::int_to_normtype(), pism::k, m_impl, n, pism::array::Array::Impl::name, PISM_CHK, PISM_ERROR_LOCATION, and vec(). Referenced by pism::inverse::IP_SSATaucTikhonovGNSolver::check_convergence(), pism::stressbalance::SSAFD::compute_nuH_norm(), and main(). |