Searched refs:vascii (Results 1 – 2 of 2) sorted by relevance
8 PetscViewer_ASCII *vascii = (PetscViewer_ASCII *)viewer->data; in PetscViewerFileClose_ASCII() local12 …PetscCheck(!vascii->sviewer, PetscObjectComm((PetscObject)viewer), PETSC_ERR_ARG_WRONGSTATE, "Cann… in PetscViewerFileClose_ASCII()14 if (rank == 0 && vascii->fd != stderr && vascii->fd != PETSC_STDOUT) { in PetscViewerFileClose_ASCII()15 if (vascii->fd && vascii->closefile) { in PetscViewerFileClose_ASCII()16 err = fclose(vascii->fd); in PetscViewerFileClose_ASCII()19 if (vascii->storecompressed) { in PetscViewerFileClose_ASCII()23 PetscCall(PetscStrlcat(par, vascii->filename, sizeof(par))); in PetscViewerFileClose_ASCII()33 PetscCall(PetscFree(vascii->filename)); in PetscViewerFileClose_ASCII()39 PetscViewer_ASCII *vascii = (PetscViewer_ASCII *)viewer->data; in PetscViewerDestroy_ASCII() local44 …PetscCheck(!vascii->sviewer, PetscObjectComm((PetscObject)viewer), PETSC_ERR_ARG_WRONGSTATE, "Cann… in PetscViewerDestroy_ASCII()[all …]
308 PetscViewer_ASCII *vascii = (PetscViewer_ASCII *)viewer->data; in PetscViewerASCIISetFILE() local311 vascii->fd = fd; in PetscViewerASCIISetFILE()312 vascii->closefile = PETSC_FALSE; in PetscViewerASCIISetFILE()