Lines Matching refs:coarseDM
1085 DM coarseDM; in DMSetUp_pforest() local
1087 PetscCall(DMForestTemplate(dm, MPI_COMM_NULL, &coarseDM)); in DMSetUp_pforest()
1088 PetscCall(DMForestSetAdaptivityPurpose(coarseDM, DM_ADAPT_COARSEN)); in DMSetUp_pforest()
1091 PetscCall(DMForestSetAdaptivityLabel(coarseDM, coarsen)); in DMSetUp_pforest()
1093 PetscCall(DMSetCoarseDM(dm, coarseDM)); in DMSetUp_pforest()
1094 PetscCall(PetscObjectDereference((PetscObject)coarseDM)); in DMSetUp_pforest()
1096 PetscCall(DMForestSetInitialRefinement(coarseDM, initLevel)); in DMSetUp_pforest()
1097 PetscCall(DMForestSetMinimumRefinement(coarseDM, minLevel)); in DMSetUp_pforest()
1098 coarse_pforest = (DM_Forest_pforest *)((DM_Forest *)coarseDM->data)->data; in DMSetUp_pforest()
4495 DM dmIn, dmVecIn, base, basec, plex, coarseDM; in DMForestTransferVecFromBase_pforest() local
4548 coarseDM = dm; in DMForestTransferVecFromBase_pforest()
4552 dmIn = coarseDM; in DMForestTransferVecFromBase_pforest()
4557 coarseDM = NULL; in DMForestTransferVecFromBase_pforest()
4558 if (hiforest) PetscCall(DMForestGetAdaptivityForest(dmIn, &coarseDM)); in DMForestTransferVecFromBase_pforest()
4559 if (!coarseDM) { /* DMForest hierarchy ended, we keep upsweeping through the DM hierarchy */ in DMForestTransferVecFromBase_pforest()
4561 PetscCall(DMGetCoarseDM(dmIn, &coarseDM)); in DMForestTransferVecFromBase_pforest()
4564 } while (coarseDM); in DMForestTransferVecFromBase_pforest()
4570 coarseDM = dm; in DMForestTransferVecFromBase_pforest()
4572 dmIn = coarseDM; in DMForestTransferVecFromBase_pforest()
4573 coarseDM = NULL; in DMForestTransferVecFromBase_pforest()
4574 if (hiforest) PetscCall(DMForestGetAdaptivityForest(dmIn, &coarseDM)); in DMForestTransferVecFromBase_pforest()
4575 if (!coarseDM) { /* DMForest hierarchy ended, we keep upsweeping through the DM hierarchy */ in DMForestTransferVecFromBase_pforest()
4577 PetscCall(DMGetCoarseDM(dmIn, &coarseDM)); in DMForestTransferVecFromBase_pforest()
4581 } while (coarseDM); in DMForestTransferVecFromBase_pforest()