Home
last modified time | relevance | path

Searched refs:infoname (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/classes/viewer/impls/binary/
H A Dbinv.c1427 char infoname[PETSC_MAX_PATH_LEN], iname[PETSC_MAX_PATH_LEN], *gz; in PetscViewerFileSetUp_BinaryInfo() local
1429 PetscCall(PetscStrncpy(infoname, vbinary->filename, sizeof(infoname))); in PetscViewerFileSetUp_BinaryInfo()
1431 PetscCall(PetscStrstr(infoname, ".gz", &gz)); in PetscViewerFileSetUp_BinaryInfo()
1434 PetscCall(PetscStrlcat(infoname, ".info", sizeof(infoname))); in PetscViewerFileSetUp_BinaryInfo()
1436 PetscCall(PetscFixFilename(infoname, iname)); in PetscViewerFileSetUp_BinaryInfo()
1437 …PetscCall(PetscFileRetrieve(PetscObjectComm((PetscObject)viewer), iname, infoname, PETSC_MAX_PATH_… in PetscViewerFileSetUp_BinaryInfo()
1438 …File(PetscObjectComm((PetscObject)viewer), ((PetscObject)viewer)->options, infoname, PETSC_FALSE)); in PetscViewerFileSetUp_BinaryInfo()
1441 vbinary->fdes_info = fopen(infoname, omode); in PetscViewerFileSetUp_BinaryInfo()
1442 …C_ERR_FILE_OPEN, "Cannot open .info file %s for writing due to \"%s\"", infoname, strerror(errno)); in PetscViewerFileSetUp_BinaryInfo()