PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
◆ 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 746 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(). |