Lines Matching refs:newPlex
4110 DM refTree, newPlex, base; in DMConvert_pforest_plex() local
4142 PetscCall(DMCreate(comm, &newPlex)); in DMConvert_pforest_plex()
4144 PetscCall(PetscObjectSetName((PetscObject)newPlex, name)); in DMConvert_pforest_plex()
4145 PetscCall(DMSetType(newPlex, DMPLEX)); in DMConvert_pforest_plex()
4146 PetscCall(DMSetMatType(newPlex, dm->mattype)); in DMConvert_pforest_plex()
4148 PetscCall(DMCopyLabels(dm, newPlex, PETSC_OWN_POINTER, PETSC_TRUE, DM_COPY_LABELS_FAIL)); in DMConvert_pforest_plex()
4165 PetscCall(DMPlexSetOverlap_Plex(newPlex, NULL, overlap)); in DMConvert_pforest_plex()
4193 PetscCall(DMSetDimension(newPlex, P4EST_DIM)); in DMConvert_pforest_plex()
4194 PetscCall(DMSetCoordinateDim(newPlex, coordDim)); in DMConvert_pforest_plex()
4195 PetscCall(DMPlexSetMaxProjectionHeight(newPlex, P4EST_DIM - 1)); in DMConvert_pforest_plex()
4196 …PetscCall(DMPlexCreateFromDAG(newPlex, P4EST_DIM, (PetscInt *)points_per_dim->array, (PetscInt *)c… in DMConvert_pforest_plex()
4197 PetscCall(DMPlexConvertOldOrientations_Internal(newPlex)); in DMConvert_pforest_plex()
4199 PetscCall(DMPlexSetReferenceTree(newPlex, refTree)); in DMConvert_pforest_plex()
4201 PetscCall(DMPlexGetChart(newPlex, &pStart, &pEnd)); in DMConvert_pforest_plex()
4210 …PetscCall(DMPlexSetTree(newPlex, parentSection, (PetscInt *)parents->array, (PetscInt *)childids->… in DMConvert_pforest_plex()
4218 PetscCall(DMSetPointSF(newPlex, pointSF)); in DMConvert_pforest_plex()
4223 PetscCall(DMGetCoordinateDM(newPlex, &coordDM)); in DMConvert_pforest_plex()
4242 PetscCall(DMSetPeriodicity(newPlex, maxCell, Lstart, L)); in DMConvert_pforest_plex()
4243 PetscCall(DMPforestLocalizeCoordinates(dm, newPlex)); in DMConvert_pforest_plex()
4253 PetscCall(DMGetCoordinateDM(newPlex, &coordDM)); in DMConvert_pforest_plex()
4255 PetscCall(DMGetCoordinates(newPlex, &coordsGlobal)); in DMConvert_pforest_plex()
4256 PetscCall(DMGetCoordinatesLocal(newPlex, &coordsLocal)); in DMConvert_pforest_plex()
4263 PetscCall(DMSetCoordinatesLocal(newPlex, coordsLocal)); in DMConvert_pforest_plex()
4265 PetscCall(DMPforestMapCoordinates(dm, newPlex)); in DMConvert_pforest_plex()
4267 pforest->plex = newPlex; in DMConvert_pforest_plex()
4270 PetscCall(DMPforestLabelsFinalize(dm, newPlex)); in DMConvert_pforest_plex()
4277 PetscCall(DMPlexConstructGhostCells(newPlex, pforest->ghostName, &numAdded, &newPlexGhosted)); in DMConvert_pforest_plex()
4278 PetscCall(DMGetApplicationContext(newPlex, &ctx)); in DMConvert_pforest_plex()
4283 PetscCall(DMDestroy(&newPlex)); in DMConvert_pforest_plex()
4286 newPlex = newPlexGhosted; in DMConvert_pforest_plex()
4290 PetscCall(DMCopyLabels(newPlex, dm, PETSC_OWN_POINTER, PETSC_TRUE, DM_COPY_LABELS_FAIL)); in DMConvert_pforest_plex()
4291 pforest->plex = newPlex; in DMConvert_pforest_plex()
4295 PetscObjectOptionsBegin((PetscObject)newPlex); in DMConvert_pforest_plex()
4296 PetscCall(DMSetFromOptions_NonRefinement_Plex(newPlex, PetscOptionsObject)); in DMConvert_pforest_plex()
4297 PetscCall(PetscObjectProcessOptionsHandlers((PetscObject)newPlex, PetscOptionsObject)); in DMConvert_pforest_plex()
4300 PetscCall(DMViewFromOptions(newPlex, NULL, "-dm_p4est_plex_view")); in DMConvert_pforest_plex()
4307 PetscCall(DMGetCoordinateDim(newPlex, &cDim)); in DMConvert_pforest_plex()
4308 PetscCall(DMGetCoordinateSection(newPlex, &coordsSec)); in DMConvert_pforest_plex()
4310 PetscCall(DMGetCoordinatesLocal(newPlex, &coords)); in DMConvert_pforest_plex()
4312 PetscCall(DMGetCoordinateDM(newPlex, &cdm)); in DMConvert_pforest_plex()
4326 PetscCall(DMGetCellCoordinateDM(newPlex, &cdm)); in DMConvert_pforest_plex()
4328 PetscCall(DMGetCellCoordinateSection(newPlex, &coordsSec)); in DMConvert_pforest_plex()
4330 PetscCall(DMGetCellCoordinatesLocal(newPlex, &coords)); in DMConvert_pforest_plex()
4336 newPlex = pforest->plex; in DMConvert_pforest_plex()
4338 PetscCall(DMClone(newPlex, plex)); in DMConvert_pforest_plex()
4340 PetscCall(DMGetCoordinateDM(newPlex,&coordDM)); in DMConvert_pforest_plex()
4342 PetscCall(DMGetCellCoordinateDM(newPlex,&coordDM)); in DMConvert_pforest_plex()