PISM, A Parallel Ice Sheet Model stable 0.4.1779
Functions

src/base/stressbalance/SSAFEM.cc File Reference

#include "SSAFEM.hh"
#include "FETools.hh"
#include "Mask.hh"

Go to the source code of this file.

Functions

SSASSAFEMFactory (IceGrid &g, IceBasalResistancePlasticLaw &b, IceFlowLaw &i, EnthalpyConverter &ec, const NCConfigVariable &c)
 Factory function for constructing a new SSAFEM.
PetscErrorCode SSAFEFunction (DALocalInfo *info, const PISMVector2 **xg, PISMVector2 **yg, SSAFEM_SNESCallbackData *fe)
 SNES callbacks.
PetscErrorCode SSAFEJacobian (DALocalInfo *info, const PISMVector2 **xg, Mat J, SSAFEM_SNESCallbackData *fe)

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 *  info,
const PISMVector2 **  xg,
Mat  J,
SSAFEM_SNESCallbackData fe 
)

Definition at line 688 of file SSAFEM.cc.

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

SSA* SSAFEMFactory ( IceGrid &  g,
IceBasalResistancePlasticLaw b,
IceFlowLaw i,
EnthalpyConverter ec,
const NCConfigVariable &  c 
)

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