Lines Matching refs:dm2
220 DM dm1, dm2; in TestUniversalLabel() local
261 PetscCall(DMClone(dm1, &dm2)); in TestUniversalLabel()
262 PetscCall(DMGetNumLabels(dm2, &Nl)); in TestUniversalLabel()
267 PetscCall(DMGetLabelName(dm2, l, &name)); in TestUniversalLabel()
270 if (!isdepth && !iscelltype) PetscCall(DMRemoveLabel(dm2, name, NULL)); in TestUniversalLabel()
273 PetscCall(DMCreate(comm, &dm2)); in TestUniversalLabel()
274 PetscCall(DMSetType(dm2, DMPLEX)); in TestUniversalLabel()
275 PetscCall(DMSetFromOptions(dm2)); in TestUniversalLabel()
277 PetscCall(PetscObjectSetName((PetscObject)dm2, "Second Mesh")); in TestUniversalLabel()
278 PetscCall(DMUniversalLabelCreateLabels(universal, PETSC_TRUE, dm2)); in TestUniversalLabel()
279 PetscCall(DMPlexGetChart(dm2, &pStart, &pEnd)); in TestUniversalLabel()
285 PetscCall(DMUniversalLabelSetLabelValue(universal, dm2, PETSC_TRUE, p, val)); in TestUniversalLabel()
287 PetscCall(DMViewFromOptions(dm2, NULL, "-dm_view")); in TestUniversalLabel()
291 PetscCall(DMDestroy(&dm2)); in TestUniversalLabel()