Lines Matching refs:fine
1377 static PetscErrorCode DMRefine_Composite(DM dmi, MPI_Comm comm, DM *fine) in DMRefine_Composite() argument
1388 PetscCall(DMCompositeCreate(comm, fine)); in DMRefine_Composite()
1393 PetscCall(DMCompositeAddDM(*fine, dm)); in DMRefine_Composite()
1400 static PetscErrorCode DMCoarsen_Composite(DM dmi, MPI_Comm comm, DM *fine) in DMCoarsen_Composite() argument
1411 PetscCall(DMCompositeCreate(comm, fine)); in DMCoarsen_Composite()
1416 PetscCall(DMCompositeAddDM(*fine, dm)); in DMCoarsen_Composite()
1423 static PetscErrorCode DMCreateInterpolation_Composite(DM coarse, DM fine, Mat *A, Vec *v) in DMCreateInterpolation_Composite() argument
1430 DM_Composite *comfine = (DM_Composite *)fine->data; in DMCreateInterpolation_Composite()
1435 PetscValidHeaderSpecific(fine, DM_CLASSID, 2); in DMCreateInterpolation_Composite()
1437 PetscCall(DMSetUp(fine)); in DMCreateInterpolation_Composite()
1440 PetscCall(DMGetGlobalVector(fine, &gfine)); in DMCreateInterpolation_Composite()
1446 PetscCall(DMRestoreGlobalVector(fine, &gfine)); in DMCreateInterpolation_Composite()
1449 …PetscCheck(nDM == comcoarse->nDM, PetscObjectComm((PetscObject)fine), PETSC_ERR_ARG_INCOMP, "Fine … in DMCreateInterpolation_Composite()
1458 PetscCall(MatCreateNest(PetscObjectComm((PetscObject)fine), nDM, NULL, nDM, NULL, mats, A)); in DMCreateInterpolation_Composite()
1459 if (v) PetscCall(VecCreateNest(PetscObjectComm((PetscObject)fine), nDM, NULL, vecs, v)); in DMCreateInterpolation_Composite()