Home
last modified time | relevance | path

Searched refs:bnd0 (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/plex/tests/
H A Dex18.c1094 PortableBoundary bnd0, bnd; in DMPlexGetExpandedBoundary_Private() local
1134 PetscCall(PetscNew(&bnd0)); in DMPlexGetExpandedBoundary_Private()
1137 …PetscCall(DMPlexGetConeRecursive(idm, boundary_is, &bnd0->depth, &boundary_expanded_iss, &bnd0->se… in DMPlexGetExpandedBoundary_Private()
1138 PetscCall(DMGetCoordinatesLocalTuple(dm, boundary_expanded_iss[0], NULL, &bnd0->coordinates)); in DMPlexGetExpandedBoundary_Private()
1142 PetscCall(DMPlexExpandedVerticesCoordinatesToFaces_Private(idm, bnd0, &is0)); in DMPlexGetExpandedBoundary_Private()
1148 PetscCall(VecCreateFromOptions(PETSC_COMM_SELF, NULL, 1, 0, 0, &bnd0->coordinates)); in DMPlexGetExpandedBoundary_Private()
1158 PetscCall(VecGetLocalSize(bnd0->coordinates, &n)); in DMPlexGetExpandedBoundary_Private()
1165 PetscCall(VecCopy(bnd0->coordinates, tmp)); in DMPlexGetExpandedBoundary_Private()
1166 PetscCall(VecDestroy(&bnd0->coordinates)); in DMPlexGetExpandedBoundary_Private()
1167 bnd0->coordinates = tmp; in DMPlexGetExpandedBoundary_Private()
[all …]