Lines Matching refs:name1
51 const char *name0, *name1; in CheckLabelsSame() local
57 PetscCall(PetscObjectGetName((PetscObject)label1, &name1)); in CheckLabelsSame()
60 …RLD, PETSC_ERR_PLIB, "Labels \"%s\" and \"%s\" should not differ! Message: %s", name0, name1, msg); in CheckLabelsSame()
69 const char *name0, *name1; in CheckLabelsNotSame() local
75 PetscCall(PetscObjectGetName((PetscObject)label1, &name1)); in CheckLabelsNotSame()
78 …(!same, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "Labels \"%s\" and \"%s\" should differ!", name0, name1); in CheckLabelsNotSame()
79 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "Compare label \"%s\" with \"%s\": %s\n", name0, name1, ms… in CheckLabelsNotSame()
86 const char *name0, *name1; in CheckDMLabelsSame() local
92 PetscCall(PetscObjectGetName((PetscObject)dm1, &name1)); in CheckDMLabelsSame()
95 …TSC_ERR_PLIB, "Labels of DMs \"%s\" and \"%s\" should not differ! Message: %s", name0, name1, msg); in CheckDMLabelsSame()
104 const char *name0, *name1; in CheckDMLabelsNotSame() local
110 PetscCall(PetscObjectGetName((PetscObject)dm1, &name1)); in CheckDMLabelsNotSame()
113 … PETSC_COMM_WORLD, PETSC_ERR_PLIB, "Labels of DMs \"%s\" and \"%s\" should differ!", name0, name1); in CheckDMLabelsNotSame()
114 …(PetscPrintf(PETSC_COMM_WORLD, "Labels of DMs \"%s\" and \"%s\" differ: %s\n", name0, name1, msg)); in CheckDMLabelsNotSame()