v0.15.0
Loading...
Searching...
No Matches
SnesCtx.cpp File Reference

Go to the source code of this file.

Classes

struct  MoFEM::SnesCtx::SnesCtxImpl
 

Namespaces

namespace  MoFEM
 implementation of Data Operators for Forces and Sources
 

Functions

PetscErrorCode MoFEM::SnesRhs (SNES snes, Vec x, Vec f, void *ctx)
 This is MoFEM implementation for the right hand side (residual vector) evaluation in SNES solver.
 
PetscErrorCode MoFEM::SnesLoadTangent (SNES snes, Vec u, Vec F, void *ctx)
 This function calls finite element pipeline to compute tangent of of load vector in arc length control.
 
PetscErrorCode MoFEM::SnesMat (SNES snes, Vec x, Mat A, Mat B, void *ctx)
 This is MoFEM implementation for the left hand side (tangent matrix) evaluation in SNES solver.
 
MoFEMErrorCode MoFEM::SnesMoFEMSetAssemblyType (SNES snes, MatAssemblyType type)
 Set assembly type at the end of SnesMat.
 
MoFEMErrorCode MoFEM::SnesMoFEMSetBehavior (SNES snes, MoFEMTypes bh)
 Set behavior if finite element in sequence does not exist.
 
MoFEMErrorCode MoFEM::MoFEMSNESMonitorFields (SNES snes, PetscInt its, PetscReal fgnorm, SnesCtx *ctx)
 Sens monitor printing residual field by field.
 
MoFEMErrorCode MoFEM::MoFEMSNESMonitorEnergy (SNES snes, PetscInt its, PetscReal fgnorm, SnesCtx *ctx)
 Sens monitor printing residual field by field.