PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
#include <SNESProblem.hh>
Classes | |
struct | CallbackData |
Public Member Functions | |
SNESProblem (std::shared_ptr< const Grid > g) | |
virtual | ~SNESProblem () |
virtual void | solve () |
virtual const std::string & | name () |
virtual Vec | solution () |
Protected Member Functions | |
virtual void | compute_local_function (DMDALocalInfo *info, const U **xg, U **yg)=0 |
virtual void | compute_local_jacobian (DMDALocalInfo *info, const U **x, Mat B)=0 |
Protected Attributes | |
std::shared_ptr< const Grid > | m_grid |
petsc::Vec | m_X |
petsc::SNES | m_snes |
petsc::DM::Ptr | m_DA |
Static Private Member Functions | |
static PetscErrorCode | function_callback (DMDALocalInfo *info, const U **x, U **f, CallbackData *) |
static PetscErrorCode | jacobian_callback (DMDALocalInfo *info, const U **x, Mat B, CallbackData *) |
Private Attributes | |
CallbackData | m_callbackData |
Definition at line 30 of file SNESProblem.hh.