Searched refs:file_id (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/sys/classes/viewer/impls/hdf5/ |
| H A D | hdf5v.c | 109 if (hdf5->file_id) PetscCallHDF5(H5Fclose, (hdf5->file_id)); in PetscViewerFileClose_HDF5() 118 if (hdf5->file_id) PetscCallHDF5(H5Fflush, (hdf5->file_id, H5F_SCOPE_LOCAL)); in PetscViewerFlush_HDF5() 406 if (hdf5->file_id) PetscCallHDF5(H5Fclose, (hdf5->file_id)); in PetscViewerFileSetName_HDF5() 428 PetscCallHDF5Return(hdf5->file_id, H5Fopen, (name, H5F_ACC_RDONLY, plist_id)); in PetscViewerFileSetName_HDF5() 434 if (flg) PetscCallHDF5Return(hdf5->file_id, H5Fopen, (name, H5F_ACC_RDWR, plist_id)); in PetscViewerFileSetName_HDF5() 435 else PetscCallHDF5Return(hdf5->file_id, H5Fcreate, (name, H5F_ACC_EXCL, H5P_DEFAULT, plist_id)); in PetscViewerFileSetName_HDF5() 439 PetscCallHDF5Return(hdf5->file_id, H5Fcreate, (name, H5F_ACC_TRUNC, H5P_DEFAULT, plist_id)); in PetscViewerFileSetName_HDF5() 446 PetscCheck(hdf5->file_id >= 0, PETSC_COMM_SELF, PETSC_ERR_LIB, "H5Fcreate failed for %s", name); in PetscViewerFileSetName_HDF5() 720 PetscErrorCode PetscViewerHDF5GetFileId(PetscViewer viewer, hid_t *file_id) in PetscViewerHDF5GetFileId() argument 726 if (file_id) *file_id = hdf5->file_id; in PetscViewerHDF5GetFileId() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | viewerhdf5impl.h | 48 hid_t file_id; member
|
| /petsc/src/dm/impls/da/ |
| H A D | gr2.c | 422 hid_t file_id; in VecView_MPI_HDF5_DA() local 434 PetscCall(PetscViewerHDF5OpenGroup(viewer, NULL, &file_id, &group)); in VecView_MPI_HDF5_DA() 554 PetscCallHDF5(H5Fflush, (file_id, H5F_SCOPE_GLOBAL)); in VecView_MPI_HDF5_DA() 566 if (group != file_id) PetscCallHDF5(H5Gclose, (group)); in VecView_MPI_HDF5_DA() 776 hid_t file_id, group; in VecLoad_HDF5_DA() local 791 PetscCall(PetscViewerHDF5OpenGroup(viewer, NULL, &file_id, &group)); in VecLoad_HDF5_DA() 869 if (group != file_id) PetscCallHDF5(H5Gclose, (group)); in VecLoad_HDF5_DA()
|
| /petsc/src/vec/is/is/impls/general/ |
| H A D | general.c | 301 hid_t file_id, group; in ISView_General_HDF5() local 312 PetscCall(PetscViewerHDF5OpenGroup(viewer, NULL, &file_id, &group)); in ISView_General_HDF5() 424 PetscCallHDF5(H5Fflush, (file_id, H5F_SCOPE_GLOBAL)); in ISView_General_HDF5()
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pdvec.c | 454 hid_t file_id; in VecView_MPI_HDF5() local 469 PetscCall(PetscViewerHDF5OpenGroup(viewer, NULL, &file_id, &group)); in VecView_MPI_HDF5() 616 PetscCallHDF5(H5Fflush, (file_id, H5F_SCOPE_GLOBAL)); in VecView_MPI_HDF5()
|