Lines Matching refs:bnd0
1094 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()
1172 PetscCall(VecScatterCreate(bnd0->coordinates, xis, bnd->coordinates, NULL, &sc)); in DMPlexGetExpandedBoundary_Private()
1173 …PetscCall(VecScatterBegin(sc, bnd0->coordinates, bnd->coordinates, INSERT_VALUES, SCATTER_FORWARD)… in DMPlexGetExpandedBoundary_Private()
1174 … PetscCall(VecScatterEnd(sc, bnd0->coordinates, bnd->coordinates, INSERT_VALUES, SCATTER_FORWARD)); in DMPlexGetExpandedBoundary_Private()
1178 bnd->depth = bnd0->depth; in DMPlexGetExpandedBoundary_Private()
1181 …scCall(PetscSectionReplicate_Private(comm, rootrank, (rank == rootrank) ? bnd0->sections[d] : NULL… in DMPlexGetExpandedBoundary_Private()
1183 …etscCall(DMPlexRestoreConeRecursive(idm, boundary_is, &bnd0->depth, &boundary_expanded_iss, &bnd0-… in DMPlexGetExpandedBoundary_Private()
1184 PetscCall(PortableBoundaryDestroy(&bnd0)); in DMPlexGetExpandedBoundary_Private()