PISM, A Parallel Ice Sheet Model stable 0.4.1779
Classes | Functions

src/base/stressbalance/SSAFEM.hh File Reference

#include "SSA.hh"
#include "FETools.hh"
#include <petscsnes.h>

Go to the source code of this file.

Classes

struct  FEStoreNode
 Storage for SSA coefficients at a quadrature point. More...
struct  SSAFEM_SNESCallbackData
 Adaptor for gluing SNESDAFormFunction callbacks to an SSAFEM. More...
class  SSAFEM
 PISM's SSA solver: the finite element method implementation written by Jed and David. More...

Functions

PetscErrorCode SSAFEFunction (DALocalInfo *, const PISMVector2 **, PISMVector2 **, SSAFEM_SNESCallbackData *)
 SNES callbacks.
PetscErrorCode SSAFEJacobian (DALocalInfo *, const PISMVector2 **, Mat, SSAFEM_SNESCallbackData *)
SSASSAFEMFactory (IceGrid &, IceBasalResistancePlasticLaw &, IceFlowLaw &, EnthalpyConverter &, const NCConfigVariable &)
 Factory function for constructing a new SSAFEM.

Function Documentation

PetscErrorCode SSAFEFunction ( DALocalInfo *  ,
const PISMVector2 **  ,
PISMVector2 **  ,
SSAFEM_SNESCallbackData  
)

SNES callbacks.

These simply forward the call on to the SSAFEM memeber of the SSAFEM_SNESCallbackData

Definition at line 680 of file SSAFEM.cc.

References SSAFEM::compute_local_function(), and SSAFEM_SNESCallbackData::ssa.

PetscErrorCode SSAFEJacobian ( DALocalInfo *  ,
const PISMVector2 **  ,
Mat  ,
SSAFEM_SNESCallbackData  
)

Definition at line 688 of file SSAFEM.cc.

References SSAFEM::compute_local_jacobian(), and SSAFEM_SNESCallbackData::ssa.

SSA* SSAFEMFactory ( IceGrid &  ,
IceBasalResistancePlasticLaw ,
IceFlowLaw ,
EnthalpyConverter ,
const NCConfigVariable &   
)

Factory function for constructing a new SSAFEM.

Definition at line 23 of file SSAFEM.cc.

Referenced by main().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines