Searched refs:dmfine (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex73.c | 727 DM dmfine = NULL, dmcoarse = NULL; in HierarchyCreate() local 729 dmfine = dmlist[k]; in HierarchyCreate() 731 if (dmfine) PetscCall(DMSetCoarseDM(dmfine, dmcoarse)); in HierarchyCreate() 736 DM dmfine = NULL, dmcoarse = NULL; in HierarchyCreate() local 738 dmfine = dmlist[d * levelrefs + 0]; in HierarchyCreate() 740 if (dmfine) PetscCall(DMShellDASetUp_TelescopeDMScatter(dmfine, dmcoarse)); in HierarchyCreate()
|
| /petsc/src/snes/interface/ |
| H A D | snes.c | 647 static PetscErrorCode DMRestrictHook_SNESVecSol(DM dmfine, Mat Restrict, Vec Rscale, Mat Inject, DM… in DMRestrictHook_SNESVecSol() argument 655 PetscCall(DMGetRefineLevel(dmfine, &finelevel)); in DMRestrictHook_SNESVecSol() 656 PetscCall(DMGetCoarsenLevel(dmfine, &fineclevel)); in DMRestrictHook_SNESVecSol() 659 …PetscCall(PetscInfo(dmfine, "Restricting SNES solution vector from level %" PetscInt_FMT "-%" Pets… in DMRestrictHook_SNESVecSol() 661 if (dmfine == snes->dm) Xfine = snes->vec_sol; in DMRestrictHook_SNESVecSol() 663 PetscCall(DMGetNamedGlobalVector(dmfine, "SNESVecSol", &Xfine_named)); in DMRestrictHook_SNESVecSol() 674 if (Xfine_named) PetscCall(DMRestoreNamedGlobalVector(dmfine, "SNESVecSol", &Xfine_named)); in DMRestrictHook_SNESVecSol()
|
| /petsc/src/ksp/pc/impls/mg/ |
| H A D | mg.c | 1093 DM dmfine, dmcoarse; in PCSetUp_MG() local 1097 PetscCall(KSPGetDM(mglevels[i + 1]->smoothd, &dmfine)); in PCSetUp_MG() 1102 PetscCall(DMRestrict(dmfine, Restrict, rscale, Inject, dmcoarse)); in PCSetUp_MG()
|