Lines Matching refs:csNew
198 …rdinates_Private(IS perm, PetscSection cs, Vec coordinates, PetscSection *csNew, Vec *coordinatesN… in DMPlexRemapCoordinates_Private() argument
206 PetscCall(PetscSectionPermute(cs, perm, csNew)); in DMPlexRemapCoordinates_Private()
212 PetscCall(PetscSectionGetChart(*csNew, &pStart, &pEnd)); in DMPlexRemapCoordinates_Private()
217 PetscCall(PetscSectionGetDof(*csNew, p, &dof)); in DMPlexRemapCoordinates_Private()
219 PetscCall(PetscSectionGetOffset(*csNew, pperm[p], &offNew)); in DMPlexRemapCoordinates_Private()
338 PetscSection cs, csNew; in DMPlexPermute() local
343 PetscCall(DMPlexRemapCoordinates_Private(perm, cs, coordinates, &csNew, &coordinatesNew)); in DMPlexPermute()
344 PetscCall(DMSetCoordinateSection(*pdm, PETSC_DETERMINE, csNew)); in DMPlexPermute()
346 PetscCall(PetscSectionDestroy(&csNew)); in DMPlexPermute()
357 PetscCall(DMPlexRemapCoordinates_Private(perm, cs, coordinates, &csNew, &coordinatesNew)); in DMPlexPermute()
358 PetscCall(DMSetCellCoordinateSection(*pdm, PETSC_DETERMINE, csNew)); in DMPlexPermute()
360 PetscCall(PetscSectionDestroy(&csNew)); in DMPlexPermute()