Searched refs:oldPrefix (Results 1 – 2 of 2) sorted by relevance
2029 char oldPrefix[PETSC_MAX_PATH_LEN]; in DMPlexDistributeOverlap_Internal() local2031 oldPrefix[0] = '\0'; in DMPlexDistributeOverlap_Internal()2033 PetscCall(PetscStrncpy(oldPrefix, prefix, sizeof(oldPrefix))); in DMPlexDistributeOverlap_Internal()2039 … PetscCall(PetscObjectSetOptionsPrefix((PetscObject)dm, oldPrefix[0] == '\0' ? NULL : oldPrefix)); in DMPlexDistributeOverlap_Internal()
5609 char *oldPrefix, *oldCoordPrefix; in DMSetFromOptions_Plex() local5614 PetscCall(PetscStrallocpy(tmp, &oldPrefix)); in DMSetFromOptions_Plex()5622 PetscCall(PetscObjectSetOptionsPrefix((PetscObject)dm, oldPrefix)); in DMSetFromOptions_Plex()5627 PetscCall(PetscFree(oldPrefix)); in DMSetFromOptions_Plex()