Searched refs:obinary (Results 1 – 1 of 1) sorted by relevance
91 PetscViewer_Binary *obinary = (PetscViewer_Binary *)(*outviewer)->data; in PetscViewerGetSubViewer_Binary() local111 obinary->mfdes = vbinary->mfsub; in PetscViewerGetSubViewer_Binary()112 obinary->mfsub = MPI_FILE_NULL; in PetscViewerGetSubViewer_Binary()113 obinary->moff = vbinary->moff; in PetscViewerGetSubViewer_Binary()137 PetscViewer_Binary *obinary = (PetscViewer_Binary *)(*outviewer)->data; in PetscViewerRestoreSubViewer_Binary() local138 …PetscCheck(obinary->mfdes == vbinary->mfsub, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Subviewer not … in PetscViewerRestoreSubViewer_Binary()139 if (obinary->mfsub != MPI_FILE_NULL) PetscCallMPI(MPI_File_close(&obinary->mfsub)); in PetscViewerRestoreSubViewer_Binary()140 moff = obinary->moff; in PetscViewerRestoreSubViewer_Binary()145 PetscViewer_Binary *obinary = (PetscViewer_Binary *)(*outviewer)->data; in PetscViewerRestoreSubViewer_Binary() local146 …PetscCheck(obinary->fdes == vbinary->fdes, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Subviewer not ob… in PetscViewerRestoreSubViewer_Binary()