DAMASK with MSC.Marc FEM solver  Revision: v2.0.3-2204-gdb1f2151
The Düsseldorf Advanced Material Simulation Kit with MSC.Marc
hdf5_utilities Module Reference

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...
 

Detailed Description

Author
Vitesh Shah, Max-Planck-Institut für Eisenforschung GmbH
Yi-Chin Yang, Max-Planck-Institut für Eisenforschung GmbH
Jennifer Nastola, Max-Planck-Institut für Eisenforschung GmbH
Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH

Function/Subroutine Documentation

◆ finalize_read()

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 8665 of file DAMASK_marc.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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ finalize_write()

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 8752 of file DAMASK_marc.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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_addattribute_int()

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 7193 of file DAMASK_marc.f90.

References io::io_error().

+ Here is the call graph for this function:

◆ hdf5_addattribute_int_array()

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 7275 of file DAMASK_marc.f90.

References io::io_error().

+ Here is the call graph for this function:

◆ hdf5_addattribute_real()

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 7234 of file DAMASK_marc.f90.

References io::io_error().

+ Here is the call graph for this function:

◆ hdf5_addattribute_real_array()

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 7319 of file DAMASK_marc.f90.

References io::io_error().

+ Here is the call graph for this function:

◆ hdf5_addattribute_str()

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 7147 of file DAMASK_marc.f90.

References io::io_error().

+ Here is the call graph for this function:

◆ hdf5_addgroup()

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 7036 of file DAMASK_marc.f90.

References io::io_error().

Referenced by results::results_addgroup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_closefile()

subroutine hdf5_utilities::hdf5_closefile ( integer(hid_t), intent(in)  fileHandle)

close the opened HDF5 output file

Definition at line 7021 of file DAMASK_marc.f90.

References io::io_error().

Referenced by results::results_closejobfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_closegroup()

subroutine hdf5_utilities::hdf5_closegroup ( integer(hid_t), intent(in)  group_id)

close a group

Definition at line 7105 of file DAMASK_marc.f90.

References io::io_error().

Referenced by 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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_objectexists()

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 7119 of file DAMASK_marc.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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_openfile()

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 6973 of file DAMASK_marc.f90.

References io::io_error().

Referenced by results::results_init(), and results::results_openjobfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_opengroup()

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 7069 of file DAMASK_marc.f90.

References io::io_error().

Referenced by results::results_opengroup().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_read_int1()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7666 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_int2()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7707 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_int3()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7747 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_int4()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7787 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_int5()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7827 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_int6()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7867 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_int7()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7907 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_real1()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7385 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_real2()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7425 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_real3()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7465 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_real4()

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

Parameters
[out]datasetread data
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7505 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_real5()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7545 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_real6()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7585 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_read_real7()

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

Parameters
[out]datasetdata read from file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7625 of file DAMASK_marc.f90.

References finalize_read(), initialize_read(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_setlink()

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 7363 of file DAMASK_marc.f90.

References io::io_error().

Referenced by results::results_setlink().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_utilities_init()

subroutine hdf5_utilities::hdf5_utilities_init

open libary and do sanity checks

Definition at line 6945 of file DAMASK_marc.f90.

References io::io_error().

Referenced by cpfem_initall().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hdf5_write_int1()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8237 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_int2()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8278 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_int3()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8319 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_int4()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8360 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_int5()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8401 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_int6()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8442 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_int7()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8483 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_real1()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7948 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_real2()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 7989 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_real3()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8030 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_real4()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8071 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_real5()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8113 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_real6()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8154 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_real7()

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

Parameters
[in,out]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[in]paralleldataset is distributed over multiple processes

Definition at line 8195 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ hdf5_write_rotation()

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

Parameters
[in]datasetdata written to file
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file

Definition at line 8527 of file DAMASK_marc.f90.

References finalize_write(), initialize_write(), and io::io_error().

+ Here is the call graph for this function:

◆ initialize_read()

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

Parameters
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[out]globalshapeshape of the dataset (all processes)

Definition at line 8603 of file DAMASK_marc.f90.

References io::io_error(), and numerics::worldrank.

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initialize_write()

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

Parameters
[in]loc_idfile or group handle
[in]datasetnamename of the dataset in the file
[out]totalshapeshape of the dataset (all processes)

Definition at line 8689 of file DAMASK_marc.f90.

References io::io_error(), and numerics::worldrank.

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: