PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Member Functions | Private Attributes | List of all members
pism::SNESProblem< DOF, U > Class Template Referenceabstract

#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 Gridm_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
 

Detailed Description

template<int DOF, class U>
class pism::SNESProblem< DOF, U >

Definition at line 30 of file SNESProblem.hh.


The documentation for this class was generated from the following file: