#include "petscda.h" #include "petscksp.h" #include "petscmg.h" #include "petscdmmg.h" #include "petscpc.h" PetscErrorCode PETSCSNES_DLLEXPORT DMMGSolve(DMMG *dmmg)Collective on DMMG
-dmmg_grid_sequence | - use grid sequencing to get the initial solution for each level from the previous | |
-dmmg_vecmonitor | - display the solution at each iteration |
Notes: For linear (KSP) problems may be called more than once, uses the same matrices but recomputes the right hand side for each new solve. Call DMMGSetKSP() to generate new matrices.
Level:advanced
Location:src/snes/utils/damg.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages