Lines Matching refs:dm1
220 DM dm1, dm2; in TestUniversalLabel() local
235 PetscCall(DMPlexCreateFromFile(comm, filename, "ex11_plex", PETSC_TRUE, &dm1)); in TestUniversalLabel()
237 PetscCall(DMCreate(comm, &dm1)); in TestUniversalLabel()
238 PetscCall(DMSetType(dm1, DMPLEX)); in TestUniversalLabel()
239 PetscCall(DMSetFromOptions(dm1)); in TestUniversalLabel()
241 PetscCall(DMHasLabel(dm1, "marker", ¬File)); in TestUniversalLabel()
243 PetscCall(DMCreateLabel(dm1, "Boundary Faces")); in TestUniversalLabel()
244 PetscCall(DMGetLabel(dm1, "Boundary Faces", &bd1)); in TestUniversalLabel()
245 PetscCall(DMPlexMarkBoundaryFaces(dm1, 13, bd1)); in TestUniversalLabel()
246 PetscCall(DMCreateLabel(dm1, "Boundary")); in TestUniversalLabel()
247 PetscCall(DMGetLabel(dm1, "Boundary", &bd2)); in TestUniversalLabel()
248 PetscCall(DMPlexMarkBoundaryFaces(dm1, 121, bd2)); in TestUniversalLabel()
249 PetscCall(DMPlexLabelComplete(dm1, bd2)); in TestUniversalLabel()
251 PetscCall(PetscObjectSetName((PetscObject)dm1, "First Mesh")); in TestUniversalLabel()
252 PetscCall(DMViewFromOptions(dm1, NULL, "-dm_view")); in TestUniversalLabel()
254 PetscCall(DMUniversalLabelCreate(dm1, &universal)); in TestUniversalLabel()
261 PetscCall(DMClone(dm1, &dm2)); in TestUniversalLabel()
290 PetscCall(DMDestroy(&dm1)); in TestUniversalLabel()