Searched refs:isForest (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/interface/ |
| H A D | dmgenerate.c | 164 PetscBool flg, isForest, found = PETSC_FALSE; in DMAdaptLabel() local 172 PetscCall(DMIsForest(dm, &isForest)); in DMAdaptLabel() 173 name = isForest ? "forest" : "cellrefiner"; in DMAdaptLabel()
|
| /petsc/src/dm/impls/forest/ |
| H A D | forest.c | 82 PetscErrorCode DMIsForest(DM dm, PetscBool *isForest) in DMIsForest() argument 91 *isForest = PETSC_TRUE; in DMIsForest() 96 *isForest = PETSC_FALSE; in DMIsForest() 398 PetscBool isForest; in DMForestSetAdaptivityForest() local 403 PetscCall(DMIsForest(dm, &isForest)); in DMForestSetAdaptivityForest() 404 if (!isForest) PetscFunctionReturn(PETSC_SUCCESS); in DMForestSetAdaptivityForest()
|
| /petsc/src/snes/utils/dm/ |
| H A D | dmadapt.c | 699 PetscBool isForest; in DMAdaptorPreAdapt() local 706 PetscCall(DMIsForest(adaptor->idm, &isForest)); in DMAdaptorPreAdapt() 708 if (isForest) adaptor->adaptCriterion = DM_ADAPTATION_LABEL; in DMAdaptorPreAdapt()
|
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 735 PetscBool isForest; in LandauDMCreateVMeshes() local 740 PetscCall(DMIsForest(dmforest, &isForest)); in LandauDMCreateVMeshes() 741 PetscCheck(isForest, ctx->comm, PETSC_ERR_PLIB, "Converted to non Forest?"); in LandauDMCreateVMeshes() 911 PetscBool isForest; in adaptToleranceFEM() local 921 PetscCall(DMIsForest(forest, &isForest)); in adaptToleranceFEM() 922 PetscCheck(isForest, ctx->comm, PETSC_ERR_ARG_WRONG, "! Forest"); in adaptToleranceFEM() 1004 if (isForest) PetscCall(DMForestSetAdaptivityForest(adaptedDM, NULL)); // ???? in adaptToleranceFEM()
|