Home
last modified time | relevance | path

Searched refs:adaptedDM (Results 1 – 3 of 3) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex11.c1096 DM adaptedDM; member
1110 DM dm, gradDM, plex, cellDM, adaptedDM = NULL; in adaptToleranceFVMSetUp() local
1190 PetscCall(DMAdaptLabel(dm, adaptLabel, &adaptedDM)); in adaptToleranceFVMSetUp()
1193 if (adaptedDM) { in adaptToleranceFVMSetUp()
1194 tctx->adaptedDM = adaptedDM; in adaptToleranceFVMSetUp()
1212 …PetscCheck(tctx->adaptedDM, PetscObjectComm((PetscObject)ts), PETSC_ERR_ARG_WRONGSTATE, "Missing a… in Transfer()
1214 PetscCall(DMCreateGlobalVector(tctx->adaptedDM, &vecsout[i])); in Transfer()
1215 PetscCall(DMForestTransferVec(dm, vecsin[i], tctx->adaptedDM, vecsout[i], PETSC_TRUE, time)); in Transfer()
1217 …PetscCall(DMForestSetAdaptivityForest(tctx->adaptedDM, NULL)); /* clear internal references to the… in Transfer()
1223 PetscCall(DMPlexGetGeometryFVM(tctx->adaptedDM, NULL, NULL, &minRadius)); in Transfer()
[all …]
/petsc/src/dm/impls/forest/
H A Dforest.c1631 …_Forest(DM dm, PETSC_UNUSED Vec metric, DMLabel label, PETSC_UNUSED DMLabel rgLabel, DM *adaptedDM) in DMAdaptLabel_Forest() argument
1636 PetscCall(DMForestTemplate(dm, PetscObjectComm((PetscObject)dm), adaptedDM)); in DMAdaptLabel_Forest()
1637 PetscCall(DMForestSetAdaptivityLabel(*adaptedDM, label)); in DMAdaptLabel_Forest()
1638 PetscCall(DMSetUp(*adaptedDM)); in DMAdaptLabel_Forest()
1639 PetscCall(DMForestGetAdaptivitySuccess(*adaptedDM, &success)); in DMAdaptLabel_Forest()
1641 PetscCall(DMDestroy(adaptedDM)); in DMAdaptLabel_Forest()
1642 *adaptedDM = NULL; in DMAdaptLabel_Forest()
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c909 DM forest, plex, adaptedDM = NULL; in adaptToleranceFEM() local
1000 PetscCall(DMAdaptLabel(forest, adaptLabel, &adaptedDM)); in adaptToleranceFEM()
1002 *newForest = adaptedDM; in adaptToleranceFEM()
1003 if (adaptedDM) { in adaptToleranceFEM()
1004 if (isForest) PetscCall(DMForestSetAdaptivityForest(adaptedDM, NULL)); // ???? in adaptToleranceFEM()
1005 PetscCall(DMConvert(adaptedDM, DMPLEX, &plex)); in adaptToleranceFEM()