Lines Matching refs:msg

53   char       *msg;  in CheckLabelsSame()  local
58 PetscCall(DMLabelCompare(PETSC_COMM_WORLD, label0, label1, &same, &msg)); in CheckLabelsSame()
59 …ck(same == (PetscBool)!msg, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "DMLabelCompare returns inconsistent… in CheckLabelsSame()
60 …RLD, PETSC_ERR_PLIB, "Labels \"%s\" and \"%s\" should not differ! Message: %s", name0, name1, msg); in CheckLabelsSame()
63 PetscCall(PetscFree(msg)); in CheckLabelsSame()
71 char *msg; in CheckLabelsNotSame() local
76 PetscCall(DMLabelCompare(PETSC_COMM_WORLD, label0, label1, &same, &msg)); in CheckLabelsNotSame()
77 …ck(same == (PetscBool)!msg, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "DMLabelCompare returns inconsistent… in CheckLabelsNotSame()
79 …scCall(PetscPrintf(PETSC_COMM_WORLD, "Compare label \"%s\" with \"%s\": %s\n", name0, name1, msg)); in CheckLabelsNotSame()
80 PetscCall(PetscFree(msg)); in CheckLabelsNotSame()
88 char *msg; in CheckDMLabelsSame() local
93 PetscCall(DMCompareLabels(dm0, dm1, &same, &msg)); in CheckDMLabelsSame()
94 …ck(same == (PetscBool)!msg, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "DMCompareLabels returns inconsisten… in CheckDMLabelsSame()
95 …TSC_ERR_PLIB, "Labels of DMs \"%s\" and \"%s\" should not differ! Message: %s", name0, name1, msg); in CheckDMLabelsSame()
98 PetscCall(PetscFree(msg)); in CheckDMLabelsSame()
106 char *msg; in CheckDMLabelsNotSame() local
111 PetscCall(DMCompareLabels(dm0, dm1, &same, &msg)); in CheckDMLabelsNotSame()
112 …ck(same == (PetscBool)!msg, PETSC_COMM_WORLD, PETSC_ERR_PLIB, "DMCompareLabels returns inconsisten… in CheckDMLabelsNotSame()
114 …(PetscPrintf(PETSC_COMM_WORLD, "Labels of DMs \"%s\" and \"%s\" differ: %s\n", name0, name1, msg)); in CheckDMLabelsNotSame()
115 PetscCall(PetscFree(msg)); in CheckDMLabelsNotSame()