Data Types | |
interface | hdf5_addattribute |
attached attributes of type char, integer or real to a file/dataset/group More... | |
interface | hdf5_read |
reads integer or float data of defined shape from file ! ToDo: order of arguments wrong More... | |
interface | hdf5_write |
writes integer or real data of defined shape to file ! ToDo: order of arguments wrong More... | |
Functions/Subroutines | |
subroutine | hdf5_utilities_init |
open libary and do sanity checks More... | |
integer(hid_t) function | hdf5_openfile (fileName, mode, parallel) |
open and initializes HDF5 output file More... | |
subroutine | hdf5_closefile (fileHandle) |
close the opened HDF5 output file More... | |
integer(hid_t) function | hdf5_addgroup (fileHandle, groupName) |
adds a new group to the fileHandle More... | |
integer(hid_t) function | hdf5_opengroup (fileHandle, groupName) |
open an existing group of a file More... | |
subroutine | hdf5_closegroup (group_id) |
close a group More... | |
logical function | hdf5_objectexists (loc_id, path) |
check whether a group or a dataset exists More... | |
subroutine | hdf5_addattribute_str (loc_id, attrLabel, attrValue, path) |
adds a string attribute to the path given relative to the location More... | |
subroutine | hdf5_addattribute_int (loc_id, attrLabel, attrValue, path) |
adds a integer attribute to the path given relative to the location More... | |
subroutine | hdf5_addattribute_real (loc_id, attrLabel, attrValue, path) |
adds a integer attribute to the path given relative to the location More... | |
subroutine | hdf5_addattribute_int_array (loc_id, attrLabel, attrValue, path) |
adds a integer attribute to the path given relative to the location More... | |
subroutine | hdf5_addattribute_real_array (loc_id, attrLabel, attrValue, path) |
adds a real attribute to the path given relative to the location More... | |
subroutine | hdf5_setlink (loc_id, target_name, link_name) |
set link to object in results file More... | |
subroutine | hdf5_read_real1 (loc_id, dataset, datasetName, parallel) |
read dataset of type real with 1 dimension More... | |
subroutine | hdf5_read_real2 (loc_id, dataset, datasetName, parallel) |
read dataset of type real with 2 dimensions More... | |
subroutine | hdf5_read_real3 (loc_id, dataset, datasetName, parallel) |
read dataset of type real with 2 dimensions More... | |
subroutine | hdf5_read_real4 (loc_id, dataset, datasetName, parallel) |
read dataset of type real with 4 dimensions More... | |
subroutine | hdf5_read_real5 (loc_id, dataset, datasetName, parallel) |
read dataset of type real with 5 dimensions More... | |
subroutine | hdf5_read_real6 (loc_id, dataset, datasetName, parallel) |
read dataset of type real with 6 dimensions More... | |
subroutine | hdf5_read_real7 (loc_id, dataset, datasetName, parallel) |
read dataset of type real with 7 dimensions More... | |
subroutine | hdf5_read_int1 (loc_id, dataset, datasetName, parallel) |
read dataset of type integer with 1 dimension More... | |
subroutine | hdf5_read_int2 (loc_id, dataset, datasetName, parallel) |
read dataset of type integer with 2 dimensions More... | |
subroutine | hdf5_read_int3 (loc_id, dataset, datasetName, parallel) |
read dataset of type integer with 3 dimensions More... | |
subroutine | hdf5_read_int4 (loc_id, dataset, datasetName, parallel) |
read dataset of type integer withh 4 dimensions More... | |
subroutine | hdf5_read_int5 (loc_id, dataset, datasetName, parallel) |
read dataset of type integer with 5 dimensions More... | |
subroutine | hdf5_read_int6 (loc_id, dataset, datasetName, parallel) |
read dataset of type integer with 6 dimensions More... | |
subroutine | hdf5_read_int7 (loc_id, dataset, datasetName, parallel) |
read dataset of type integer with 7 dimensions More... | |
subroutine | hdf5_write_real1 (loc_id, dataset, datasetName, parallel) |
write dataset of type real with 1 dimension More... | |
subroutine | hdf5_write_real2 (loc_id, dataset, datasetName, parallel) |
write dataset of type real with 2 dimensions More... | |
subroutine | hdf5_write_real3 (loc_id, dataset, datasetName, parallel) |
write dataset of type real with 3 dimensions More... | |
subroutine | hdf5_write_real4 (loc_id, dataset, datasetName, parallel) |
write dataset of type real with 4 dimensions More... | |
subroutine | hdf5_write_real5 (loc_id, dataset, datasetName, parallel) |
write dataset of type real with 5 dimensions More... | |
subroutine | hdf5_write_real6 (loc_id, dataset, datasetName, parallel) |
write dataset of type real with 6 dimensions More... | |
subroutine | hdf5_write_real7 (loc_id, dataset, datasetName, parallel) |
write dataset of type real with 7 dimensions More... | |
subroutine | hdf5_write_int1 (loc_id, dataset, datasetName, parallel) |
write dataset of type integer with 1 dimension More... | |
subroutine | hdf5_write_int2 (loc_id, dataset, datasetName, parallel) |
write dataset of type integer with 2 dimensions More... | |
subroutine | hdf5_write_int3 (loc_id, dataset, datasetName, parallel) |
write dataset of type integer with 3 dimensions More... | |
subroutine | hdf5_write_int4 (loc_id, dataset, datasetName, parallel) |
write dataset of type integer with 4 dimensions More... | |
subroutine | hdf5_write_int5 (loc_id, dataset, datasetName, parallel) |
write dataset of type integer with 5 dimensions More... | |
subroutine | hdf5_write_int6 (loc_id, dataset, datasetName, parallel) |
write dataset of type integer with 6 dimensions More... | |
subroutine | hdf5_write_int7 (loc_id, dataset, datasetName, parallel) |
write dataset of type integer with 7 dimensions More... | |
subroutine | hdf5_write_rotation (loc_id, dataset, datasetName, parallel) |
writes a scalar orientation dataset More... | |
subroutine | initialize_read (dset_id, filespace_id, memspace_id, plist_id, aplist_id, myStart, globalShape, loc_id, localShape, datasetName, parallel) |
initialize HDF5 handles, determines global shape and start for parallel read More... | |
subroutine | finalize_read (dset_id, filespace_id, memspace_id, plist_id, aplist_id) |
closes HDF5 handles More... | |
subroutine | initialize_write (dset_id, filespace_id, memspace_id, plist_id, myStart, totalShape, loc_id, myShape, datasetName, datatype, parallel) |
initialize HDF5 handles, determines global shape and start for parallel write More... | |
subroutine | finalize_write (plist_id, dset_id, filespace_id, memspace_id) |
closes HDF5 handles More... | |
subroutine hdf5_utilities::finalize_read | ( | integer(hid_t), intent(in) | dset_id, |
integer(hid_t), intent(in) | filespace_id, | ||
integer(hid_t), intent(in) | memspace_id, | ||
integer(hid_t), intent(in) | plist_id, | ||
integer(hid_t), intent(in) | aplist_id | ||
) |
closes HDF5 handles
Definition at line 1818 of file HDF5_utilities.f90.
References io::io_error().
Referenced by hdf5_read_int1(), hdf5_read_int2(), hdf5_read_int3(), hdf5_read_int4(), hdf5_read_int5(), hdf5_read_int6(), hdf5_read_int7(), hdf5_read_real1(), hdf5_read_real2(), hdf5_read_real3(), hdf5_read_real4(), hdf5_read_real5(), hdf5_read_real6(), and hdf5_read_real7().
subroutine hdf5_utilities::finalize_write | ( | integer(hid_t), intent(in) | plist_id, |
integer(hid_t), intent(in) | dset_id, | ||
integer(hid_t), intent(in) | filespace_id, | ||
integer(hid_t), intent(in) | memspace_id | ||
) |
closes HDF5 handles
Definition at line 1905 of file HDF5_utilities.f90.
References io::io_error().
Referenced by hdf5_write_int1(), hdf5_write_int2(), hdf5_write_int3(), hdf5_write_int4(), hdf5_write_int5(), hdf5_write_int6(), hdf5_write_int7(), hdf5_write_real1(), hdf5_write_real2(), hdf5_write_real3(), hdf5_write_real4(), hdf5_write_real5(), hdf5_write_real6(), hdf5_write_real7(), and hdf5_write_rotation().
subroutine hdf5_utilities::hdf5_addattribute_int | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | attrLabel, | ||
integer, intent(in) | attrValue, | ||
character(len=*), intent(in), optional | path | ||
) |
adds a integer attribute to the path given relative to the location
Definition at line 339 of file HDF5_utilities.f90.
References io::io_error().
subroutine hdf5_utilities::hdf5_addattribute_int_array | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | attrLabel, | ||
integer, dimension(:), intent(in) | attrValue, | ||
character(len=*), intent(in), optional | path | ||
) |
adds a integer attribute to the path given relative to the location
Definition at line 421 of file HDF5_utilities.f90.
References io::io_error().
subroutine hdf5_utilities::hdf5_addattribute_real | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | attrLabel, | ||
real(preal), intent(in) | attrValue, | ||
character(len=*), intent(in), optional | path | ||
) |
adds a integer attribute to the path given relative to the location
Definition at line 380 of file HDF5_utilities.f90.
References io::io_error().
subroutine hdf5_utilities::hdf5_addattribute_real_array | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | attrLabel, | ||
real(preal), dimension(:), intent(in) | attrValue, | ||
character(len=*), intent(in), optional | path | ||
) |
adds a real attribute to the path given relative to the location
Definition at line 465 of file HDF5_utilities.f90.
References io::io_error().
subroutine hdf5_utilities::hdf5_addattribute_str | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | attrLabel, | ||
character(len=*), intent(in) | attrValue, | ||
character(len=*), intent(in), optional | path | ||
) |
adds a string attribute to the path given relative to the location
Definition at line 293 of file HDF5_utilities.f90.
References io::io_error().
integer(hid_t) function hdf5_utilities::hdf5_addgroup | ( | integer(hid_t), intent(in) | fileHandle, |
character(len=*), intent(in) | groupName | ||
) |
adds a new group to the fileHandle
Definition at line 182 of file HDF5_utilities.f90.
References io::io_error().
Referenced by grid_mech_fem::grid_mech_fem_restartwrite(), grid_mech_spectral_basic::grid_mech_spectral_basic_restartwrite(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_restartwrite(), and results::results_addgroup().
subroutine hdf5_utilities::hdf5_closefile | ( | integer(hid_t), intent(in) | fileHandle | ) |
close the opened HDF5 output file
Definition at line 167 of file HDF5_utilities.f90.
References io::io_error().
Referenced by grid_mech_fem::grid_mech_fem_init(), grid_mech_fem::grid_mech_fem_restartwrite(), grid_mech_spectral_basic::grid_mech_spectral_basic_init(), grid_mech_spectral_basic::grid_mech_spectral_basic_restartwrite(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_init(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_restartwrite(), and results::results_closejobfile().
subroutine hdf5_utilities::hdf5_closegroup | ( | integer(hid_t), intent(in) | group_id | ) |
close a group
Definition at line 251 of file HDF5_utilities.f90.
References io::io_error().
Referenced by grid_mech_fem::grid_mech_fem_init(), grid_mech_fem::grid_mech_fem_restartwrite(), grid_mech_spectral_basic::grid_mech_spectral_basic_init(), grid_mech_spectral_basic::grid_mech_spectral_basic_restartwrite(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_init(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_restartwrite(), results::results_closegroup(), results::results_mapping_constituent(), results::results_mapping_materialpoint(), results::results_writescalardataset_real(), results::results_writescalardataset_rotation(), results::results_writetensordataset_int(), results::results_writetensordataset_real(), results::results_writevectordataset_int(), and results::results_writevectordataset_real().
logical function hdf5_utilities::hdf5_objectexists | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in), optional | path | ||
) |
check whether a group or a dataset exists
Definition at line 265 of file HDF5_utilities.f90.
References io::io_error().
Referenced by results::results_writescalardataset_real(), results::results_writescalardataset_rotation(), results::results_writetensordataset_int(), results::results_writetensordataset_real(), results::results_writevectordataset_int(), and results::results_writevectordataset_real().
integer(hid_t) function hdf5_utilities::hdf5_openfile | ( | character(len=*), intent(in) | fileName, |
character, intent(in), optional | mode, | ||
logical, intent(in), optional | parallel | ||
) |
open and initializes HDF5 output file
Definition at line 119 of file HDF5_utilities.f90.
References io::io_error().
Referenced by grid_mech_fem::grid_mech_fem_init(), grid_mech_fem::grid_mech_fem_restartwrite(), grid_mech_spectral_basic::grid_mech_spectral_basic_init(), grid_mech_spectral_basic::grid_mech_spectral_basic_restartwrite(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_init(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_restartwrite(), results::results_init(), and results::results_openjobfile().
integer(hid_t) function hdf5_utilities::hdf5_opengroup | ( | integer(hid_t), intent(in) | fileHandle, |
character(len=*), intent(in) | groupName | ||
) |
open an existing group of a file
Definition at line 215 of file HDF5_utilities.f90.
References io::io_error().
Referenced by grid_mech_fem::grid_mech_fem_init(), grid_mech_spectral_basic::grid_mech_spectral_basic_init(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_init(), and results::results_opengroup().
subroutine hdf5_utilities::hdf5_read_int1 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type integer with 1 dimension
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 812 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_int2 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type integer with 2 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 853 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_int3 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type integer with 3 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 893 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_int4 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type integer withh 4 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 933 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_int5 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type integer with 5 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 973 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_int6 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:,:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type integer with 6 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1013 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_int7 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:,:,:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type integer with 7 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1053 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_real1 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type real with 1 dimension
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 531 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_real2 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type real with 2 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 571 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_real3 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type real with 2 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 611 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_real4 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type real with 4 dimensions
[out] | dataset | read data |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 651 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_real5 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type real with 5 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 691 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_real6 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:,:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type real with 6 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 731 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_read_real7 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:,:,:,:,:), intent(out) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
read dataset of type real with 7 dimensions
[out] | dataset | data read from file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 771 of file HDF5_utilities.f90.
References finalize_read(), initialize_read(), and io::io_error().
subroutine hdf5_utilities::hdf5_setlink | ( | integer(hid_t), intent(in) | loc_id, |
character(len=*), intent(in) | target_name, | ||
character(len=*), intent(in) | link_name | ||
) |
set link to object in results file
Definition at line 509 of file HDF5_utilities.f90.
References io::io_error().
Referenced by results::results_setlink().
subroutine hdf5_utilities::hdf5_utilities_init |
open libary and do sanity checks
Definition at line 91 of file HDF5_utilities.f90.
References io::io_error().
Referenced by cpfem2::cpfem_initall().
subroutine hdf5_utilities::hdf5_write_int1 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type integer with 1 dimension
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1383 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_int2 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type integer with 2 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1424 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_int3 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type integer with 3 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1465 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_int4 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type integer with 4 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1506 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_int5 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type integer with 5 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1547 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_int6 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:,:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type integer with 6 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1588 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_int7 | ( | integer(hid_t), intent(in) | loc_id, |
integer, dimension(:,:,:,:,:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type integer with 7 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1629 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_real1 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type real with 1 dimension
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1094 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_real2 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type real with 2 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1135 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_real3 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type real with 3 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1176 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_real4 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type real with 4 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1217 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_real5 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type real with 5 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1259 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_real6 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:,:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type real with 6 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1300 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_real7 | ( | integer(hid_t), intent(in) | loc_id, |
real(preal), dimension(:,:,:,:,:,:,:), intent(inout) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
write dataset of type real with 7 dimensions
[in,out] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[in] | parallel | dataset is distributed over multiple processes |
Definition at line 1341 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::hdf5_write_rotation | ( | integer(hid_t), intent(in) | loc_id, |
type(rotation), dimension(:), intent(in) | dataset, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in), optional | parallel | ||
) |
writes a scalar orientation dataset
[in] | dataset | data written to file |
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
Definition at line 1673 of file HDF5_utilities.f90.
References finalize_write(), initialize_write(), and io::io_error().
subroutine hdf5_utilities::initialize_read | ( | integer(hid_t), intent(out) | dset_id, |
integer(hid_t), intent(out) | filespace_id, | ||
integer(hid_t), intent(out) | memspace_id, | ||
integer(hid_t), intent(out) | plist_id, | ||
integer(hid_t), intent(out) | aplist_id, | ||
integer(hsize_t), dimension(size(localshape,1)), intent(out) | myStart, | ||
integer(hsize_t), dimension(size(localshape,1)), intent(out) | globalShape, | ||
integer(hid_t), intent(in) | loc_id, | ||
integer(hsize_t), dimension(:), intent(in) | localShape, | ||
character(len=*), intent(in) | datasetName, | ||
logical, intent(in) | parallel | ||
) |
initialize HDF5 handles, determines global shape and start for parallel read
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[out] | globalshape | shape of the dataset (all processes) |
Definition at line 1749 of file HDF5_utilities.f90.
References io::io_error(), numerics::worldrank, and numerics::worldsize.
Referenced by hdf5_read_int1(), hdf5_read_int2(), hdf5_read_int3(), hdf5_read_int4(), hdf5_read_int5(), hdf5_read_int6(), hdf5_read_int7(), hdf5_read_real1(), hdf5_read_real2(), hdf5_read_real3(), hdf5_read_real4(), hdf5_read_real5(), hdf5_read_real6(), and hdf5_read_real7().
subroutine hdf5_utilities::initialize_write | ( | integer(hid_t), intent(out) | dset_id, |
integer(hid_t), intent(out) | filespace_id, | ||
integer(hid_t), intent(out) | memspace_id, | ||
integer(hid_t), intent(out) | plist_id, | ||
integer(hsize_t), dimension(size(myshape,1)), intent(out) | myStart, | ||
integer(hsize_t), dimension(size(myshape,1)), intent(out) | totalShape, | ||
integer(hid_t), intent(in) | loc_id, | ||
integer(hsize_t), dimension(:), intent(in) | myShape, | ||
character(len=*), intent(in) | datasetName, | ||
integer(hid_t), intent(in) | datatype, | ||
logical, intent(in) | parallel | ||
) |
initialize HDF5 handles, determines global shape and start for parallel write
[in] | loc_id | file or group handle |
[in] | datasetname | name of the dataset in the file |
[out] | totalshape | shape of the dataset (all processes) |
Definition at line 1842 of file HDF5_utilities.f90.
References io::io_error(), numerics::worldrank, and numerics::worldsize.
Referenced by hdf5_write_int1(), hdf5_write_int2(), hdf5_write_int3(), hdf5_write_int4(), hdf5_write_int5(), hdf5_write_int6(), hdf5_write_int7(), hdf5_write_real1(), hdf5_write_real2(), hdf5_write_real3(), hdf5_write_real4(), hdf5_write_real5(), hdf5_write_real6(), hdf5_write_real7(), and hdf5_write_rotation().