Searched refs:hasAttr (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/vec/tests/ |
| H A D | ex48.c | 280 PetscBool flg = PETSC_FALSE, hasAttr = PETSC_FALSE; in CapsuleReadAndCompareAttributes() local 291 PetscCall(PetscViewerHDF5HasAttribute(v, parent, attribute, &hasAttr)); in CapsuleReadAndCompareAttributes() 294 if (!hasAttr) PetscCall(PetscPrintf(comm, "---")); in CapsuleReadAndCompareAttributes() 296 …PetscCheck(gd || !hasAttr, comm, PETSC_ERR_PLIB, "Attribute %s/%s/%s exists while its parent %s/%s… in CapsuleReadAndCompareAttributes() 297 …ck(flg == hasAttr, comm, PETSC_ERR_PLIB, "Attribute %s/%s should exist? %s Exists? %s", parent, at… in CapsuleReadAndCompareAttributes() 300 if (hasAttr) { in CapsuleReadAndCompareAttributes()
|