![]() |
v0.15.0 |
Context for PETSc SNES, i.e. nonlinear solver. More...
Go to the source code of this file.
Classes | |
| struct | MoFEM::SnesCtx |
| Interface for nonlinear (SNES) solver. More... | |
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::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 *snes_ctx) |
| Sens monitor printing residual field by field. | |
Context for PETSc SNES, i.e. nonlinear solver.
Definition in file SnesCtx.hpp.