PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
◆ 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(). |