| /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() 127 PetscCallHDF5(H5Pclose, (hdf5->dxpl_id)); in PetscViewerDestroy_HDF5() 312 …PetscCallHDF5(H5Pset_dxpl_mpio, (hdf5->dxpl_id, flg ? H5FD_MPIO_COLLECTIVE : H5FD_MPIO_INDEPENDENT… in PetscViewerHDF5SetCollective_HDF5() 365 PetscCallHDF5(H5Pget_dxpl_mpio, (hdf5->dxpl_id, &mode)); in PetscViewerHDF5GetCollective_HDF5() 406 if (hdf5->file_id) PetscCallHDF5(H5Fclose, (hdf5->file_id)); in PetscViewerFileSetName_HDF5() 412 PetscCallHDF5(H5Pset_fapl_mpio, (plist_id, PetscObjectComm((PetscObject)viewer), MPI_INFO_NULL)); in PetscViewerFileSetName_HDF5() 447 PetscCallHDF5(H5Pclose, (plist_id)); in PetscViewerFileSetName_HDF5() 916 PetscCallHDF5(H5Gclose, (groupId)); in PetscViewerHDF5WriteGroup() 1201 PetscCallHDF5(H5Tset_size, (dtype, len + 1)); in PetscViewerHDF5WriteAttribute() [all …]
|
| /petsc/src/dm/impls/da/ |
| H A D | gr2.c | 514 PetscCallHDF5(H5Pset_chunk, (chunkspace, (int)dim, chunkDims)); in VecView_MPI_HDF5_DA() 519 PetscCallHDF5(H5Dset_extent, (dset_id, dims)); in VecView_MPI_HDF5_DA() 521 PetscCallHDF5(H5Sclose, (filespace)); in VecView_MPI_HDF5_DA() 550 PetscCallHDF5(H5Sselect_hyperslab, (filespace, H5S_SELECT_SET, offset, NULL, count, NULL)); in VecView_MPI_HDF5_DA() 553 PetscCallHDF5(H5Dwrite, (dset_id, memscalartype, memspace, filespace, hdf5->dxpl_id, x)); 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() 567 PetscCallHDF5(H5Sclose, (filespace)); in VecView_MPI_HDF5_DA() 568 PetscCallHDF5(H5Sclose, (memspace)); in VecView_MPI_HDF5_DA() 569 PetscCallHDF5(H5Dclose, (dset_id)); in VecView_MPI_HDF5_DA() [all …]
|
| /petsc/src/vec/is/utils/hdf5/ |
| H A D | hdf5io.c | 63 PetscCallHDF5(H5Gclose, (h->group)); in PetscViewerHDF5ReadFinalize_Private() 64 PetscCallHDF5(H5Sclose, (h->dataspace)); in PetscViewerHDF5ReadFinalize_Private() 65 PetscCallHDF5(H5Dclose, (h->dataset)); in PetscViewerHDF5ReadFinalize_Private() 220 PetscCallHDF5(H5Sselect_hyperslab, (ctx->dataspace, H5S_SELECT_SET, offset, NULL, count, NULL)); in PetscViewerHDF5ReadSelectHyperslab_Private() 230 PetscCallHDF5(H5Dread, (h->dataset, datatype, memspace, h->dataspace, hdf5->dxpl_id, arr)); in PetscViewerHDF5ReadArray_Private() 289 PetscCallHDF5(H5Sclose, (memspace)); in PetscViewerHDF5Load_Internal()
|
| /petsc/src/vec/is/is/impls/general/ |
| H A D | general.c | 372 PetscCallHDF5(H5Pset_chunk, (chunkspace, (int)dim, chunkDims)); in ISView_General_HDF5() 375 PetscCallHDF5(H5Pclose, (chunkspace)); in ISView_General_HDF5() 378 PetscCallHDF5(H5Dset_extent, (dset_id, dims)); in ISView_General_HDF5() 380 PetscCallHDF5(H5Sclose, (filespace)); in ISView_General_HDF5() 416 PetscCallHDF5(H5Sselect_hyperslab, (filespace, H5S_SELECT_SET, offset, NULL, count, NULL)); in ISView_General_HDF5() 423 PetscCallHDF5(H5Dwrite, (dset_id, inttype, memspace, filespace, hdf5->dxpl_id, ind)); in ISView_General_HDF5() 424 PetscCallHDF5(H5Fflush, (file_id, H5F_SCOPE_GLOBAL)); in ISView_General_HDF5() 428 PetscCallHDF5(H5Gclose, (group)); in ISView_General_HDF5() 429 PetscCallHDF5(H5Sclose, (filespace)); in ISView_General_HDF5() 430 PetscCallHDF5(H5Sclose, (memspace)); in ISView_General_HDF5() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | viewerhdf5impl.h | 18 #define PetscCallHDF5(func, args) \ macro
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pdvec.c | 556 PetscCallHDF5(H5Pset_chunk, (chunkspace, (int)dim, chunkDims)); in VecView_MPI_HDF5() 559 PetscCallHDF5(H5Pclose, (chunkspace)); in VecView_MPI_HDF5() 562 PetscCallHDF5(H5Dset_extent, (dset_id, dims)); in VecView_MPI_HDF5() 564 PetscCallHDF5(H5Sclose, (filespace)); in VecView_MPI_HDF5() 608 PetscCallHDF5(H5Sselect_hyperslab, (filespace, H5S_SELECT_SET, offset, NULL, count, NULL)); in VecView_MPI_HDF5() 615 PetscCallHDF5(H5Dwrite, (dset_id, memscalartype, memspace, filespace, hdf5->dxpl_id, x)); in VecView_MPI_HDF5() 616 PetscCallHDF5(H5Fflush, (file_id, H5F_SCOPE_GLOBAL)); in VecView_MPI_HDF5() 620 PetscCallHDF5(H5Gclose, (group)); in VecView_MPI_HDF5() 621 PetscCallHDF5(H5Sclose, (filespace)); in VecView_MPI_HDF5() 622 PetscCallHDF5(H5Sclose, (memspace)); in VecView_MPI_HDF5() [all …]
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 396 PetscCallHDF5(H5Dclose, (dset)); in DMSequenceGetLength_HDF5_Internal() 397 PetscCallHDF5(H5Gclose, (group)); in DMSequenceGetLength_HDF5_Internal() 1876 PetscCallHDF5(ReadLabelStratumHDF5_Distribute_Private, (stratumIS, ctx, &newStratumIS)); in ReadLabelStratumHDF5_Static() 1942 …PetscCallHDF5(H5Literate, (groupId, H5_INDEX_NAME, H5_ITER_NATIVE, &idx, ReadLabelHDF5_Static, ctx… in DMPlexLabelsLoad_HDF5_Internal() 1943 PetscCallHDF5(H5Gclose, (groupId)); in DMPlexLabelsLoad_HDF5_Internal()
|