Lines Matching refs:val
45 PetscInt val; in TestSetup() local
48 PetscCall(DMLabelGetValue(label, (PetscInt)p, &val)); in TestSetup()
49 if (val < 0) { in TestSetup()
68 PetscInt val; in TestLookup() local
71 PetscCall(DMLabelGetValue(label, p, &val)); in TestLookup()
73 …val < 0 || has) && (val >= 0 || !has), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Label value %" PetscInt_F… in TestLookup()
89 PetscInt val; in TestClear() local
92 PetscCall(DMLabelGetValue(label, p, &val)); in TestClear()
93 if (val != defaultValue) PetscCall(DMLabelClearValue(label, p, val)); in TestClear()
94 PetscCall(DMLabelGetValue(label, p, &val)); in TestClear()
96 …val == defaultValue, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Expected default value %" PetscInt_FMT " af… in TestClear()