#include "petscda.h" #include "petscksp.h" #include "petscmg.h" #include "petscdmmg.h" #include "petscpc.h" PetscErrorCode PETSCSNES_DLLEXPORT DMMGSetDM(DMMG *dmmg, DM dm)Collective on DMMG
dmmg | - the context | |
dm | - the DA or VecPack object |
-dmmg_refine: Use the input problem as the coarse level and refine. Otherwise, use it as the fine level and coarsen. | - - -dmmg_hierarchy: Construct all grids at once |