PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
◆ SSAFD()Because the FD implementation of the SSA uses Picard iteration, a PETSc KSP and Mat are used directly. In particular we set up \(A\) (Mat m_A) and a \(b\) (= Vec m_rhs) and iteratively solve linear systems \[ A x = b \] where \(x\) (= Vec m_velocity_global). A PETSc SNES object is never created. Definition at line 54 of file SSAFD.cc. References pism::array::Array::dm(), pism::VariableMetadata::long_name(), m_A, pism::Component::m_grid, m_KSP, m_nuH_old, m_nuh_viewer, pism::stressbalance::SSA::m_velocity_global, m_velocity_old, pism::array::Array::metadata(), PISM_CHK, pism::Wrapper< T >::rawptr(), and pism::VariableMetadata::units(). |