Searched refs:hasTag (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex60.c | 263 PetscBool hasTag; in main() local 267 PetscCall(DMLabelHasStratum(bdLabel, 1, &hasTag)); in main() 268 PetscCheck(hasTag, comm, PETSC_ERR_ARG_OUTOFRANGE, "Adapted mesh does not have face tag 1"); in main() 269 PetscCall(DMLabelHasStratum(bdLabel, 2, &hasTag)); in main() 270 PetscCheck(hasTag, comm, PETSC_ERR_ARG_OUTOFRANGE, "Adapted mesh does not have face tag 2"); in main() 275 PetscCall(DMLabelHasStratum(rgLabel, 3, &hasTag)); in main() 276 PetscCheck(hasTag, comm, PETSC_ERR_ARG_OUTOFRANGE, "Adapted mesh does not have cell tag 3"); in main() 277 PetscCall(DMLabelHasStratum(rgLabel, 4, &hasTag)); in main() 278 PetscCheck(hasTag, comm, PETSC_ERR_ARG_OUTOFRANGE, "Adapted mesh does not have cell tag 4"); in main()
|
| /petsc/src/dm/impls/plex/adaptors/parmmg/ |
| H A D | parmmgadapt.c | 421 PetscBool hasTag = PETSC_FALSE; in DMAdaptMetric_ParMmg_Plex() local 439 PetscCall(DMLabelHasStratum(bdLabel, faceTagsNew[i], &hasTag)); in DMAdaptMetric_ParMmg_Plex() 440 if (hasTag) PetscCall(DMLabelSetValue(bdLabelNew, coveredPoints[f], faceTagsNew[i])); in DMAdaptMetric_ParMmg_Plex()
|