Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
|
Implements the functions to write hdf5 file to store heavy data.
With HDF5 you can store several datasets in a single file.
Derived types and interfaces | |
type | sll_t_hdf5_ser_handle |
Opaque object around HDF5 file id. More... | |
interface | sll_o_hdf5_ser_write_array |
Write nD array of double precision floats or integers into HDF5 file. More... | |
interface | sll_o_hdf5_ser_read_array |
Read nD array of double precision floats or integers from HDF5 file. More... | |
interface | sll_o_hdf5_ser_write_attribute |
Attach new named scalar attribute (double precision float or integer) to HDF5 object (group or dataset) More... | |
interface | sll_o_hdf5_ser_read_attribute |
Read pre-existing named scalar attribute (double precision float or integer) from HDF5 object (group or dataset) More... | |
Functions/Subroutines | |
subroutine, public | sll_s_hdf5_ser_file_create (filename, handle, error) |
Create new HDF5 file. More... | |
subroutine, public | sll_s_hdf5_ser_file_open (filename, handle, error) |
Open existing HDF5 file. More... | |
subroutine, public | sll_s_hdf5_ser_file_close (handle, error) |
Close existing HDF5 file. More... | |
subroutine | sll_hdf5_ser_write_int_array_1d (handle, array, dsetname, error) |
Write 1D array of int32 into HDF5 file. More... | |
subroutine | sll_hdf5_ser_write_int_array_2d (handle, array, dsetname, error) |
Write 2D array of int32 into HDF5 file. More... | |
subroutine | sll_hdf5_ser_write_int_array_3d (handle, array, dsetname, error) |
Write 3D array of int32 into HDF5 file. More... | |
subroutine | sll_hdf5_ser_write_dble_array_1d (handle, array, dsetname, error) |
Write 1D array of float64 into HDF5 file. More... | |
subroutine | sll_hdf5_ser_write_dble_array_2d (handle, array, dsetname, error) |
Write 2D array of float64 into HDF5 file. More... | |
subroutine | sll_hdf5_ser_write_dble_array_3d (handle, array, dsetname, error) |
Write 3D array of float64 into HDF5 file. More... | |
subroutine | sll_hdf5_ser_read_dble_array_1d (handle, array, dsetname, error) |
Read 1D array of float64 from HDF5 file. More... | |
subroutine | sll_hdf5_ser_read_dble_array_2d (handle, array, dsetname, error) |
Read 2D array of float64 from HDF5 file. More... | |
subroutine | sll_hdf5_ser_read_dble_array_3d (handle, array, dsetname, error) |
Read 3D array of float64 from HDF5 file. More... | |
subroutine | sll_hdf5_ser_write_char_array (handle, string, dsetname, error) |
Write Fortran string to HDF5 file as 1D array of characters. More... | |
subroutine, public | sll_s_hdf5_ser_write_file (handle, filename, dsetname, error) |
Read complete file to string and store it into HDF5 data structure. More... | |
subroutine | s_hdf5_ser_write_attribute_dble (handle, objpath, attrname, attrvalue, error) |
Attach named float64 attribute to existing group or dataset. More... | |
subroutine | s_hdf5_ser_write_attribute_int (handle, objpath, attrname, attrvalue, error) |
Attach named integer attribute to existing group or dataset. More... | |
subroutine | s_hdf5_ser_read_attribute_dble (handle, objpath, attrname, attrvalue, error) |
Read named float64 attribute from existing group or dataset. More... | |
subroutine | s_hdf5_ser_read_attribute_int (handle, objpath, attrname, attrvalue, error) |
Read named integer attribute from existing group or dataset. More... | |
Variables | |
integer, parameter | h5o_type_group = 0 |
integer, parameter | h5o_type_dataset = 1 |
|
private |
Read named float64 attribute from existing group or dataset.
Definition at line 484 of file sll_m_hdf5_io_serial.F90.
|
private |
Read named integer attribute from existing group or dataset.
Definition at line 500 of file sll_m_hdf5_io_serial.F90.
|
private |
Attach named float64 attribute to existing group or dataset.
Definition at line 452 of file sll_m_hdf5_io_serial.F90.
|
private |
Attach named integer attribute to existing group or dataset.
Definition at line 468 of file sll_m_hdf5_io_serial.F90.
|
private |
Read 1D array of float64 from HDF5 file.
Definition at line 312 of file sll_m_hdf5_io_serial.F90.
|
private |
Read 2D array of float64 from HDF5 file.
Definition at line 328 of file sll_m_hdf5_io_serial.F90.
|
private |
Read 3D array of float64 from HDF5 file.
Definition at line 344 of file sll_m_hdf5_io_serial.F90.
|
private |
Write Fortran string to HDF5 file as 1D array of characters.
[in] | handle | file handle |
[in] | string | data string |
[in] | dsetname | HDF5 dataset name |
[out] | error | HDF5 error code |
Definition at line 365 of file sll_m_hdf5_io_serial.F90.
|
private |
Write 1D array of float64 into HDF5 file.
Definition at line 264 of file sll_m_hdf5_io_serial.F90.
|
private |
Write 2D array of float64 into HDF5 file.
Definition at line 280 of file sll_m_hdf5_io_serial.F90.
|
private |
Write 3D array of float64 into HDF5 file.
Definition at line 296 of file sll_m_hdf5_io_serial.F90.
|
private |
Write 1D array of int32 into HDF5 file.
Definition at line 216 of file sll_m_hdf5_io_serial.F90.
|
private |
Write 2D array of int32 into HDF5 file.
Definition at line 232 of file sll_m_hdf5_io_serial.F90.
|
private |
Write 3D array of int32 into HDF5 file.
Definition at line 248 of file sll_m_hdf5_io_serial.F90.
subroutine, public sll_m_hdf5_io_serial::sll_s_hdf5_ser_file_close | ( | type(sll_t_hdf5_ser_handle), intent(in) | handle, |
integer, intent(out) | error | ||
) |
Close existing HDF5 file.
[in] | handle | file handle |
[out] | error | HDF5 error code |
Definition at line 203 of file sll_m_hdf5_io_serial.F90.
subroutine, public sll_m_hdf5_io_serial::sll_s_hdf5_ser_file_create | ( | character(len=*), intent(in) | filename, |
type(sll_t_hdf5_ser_handle), intent(out) | handle, | ||
integer, intent(out) | error | ||
) |
Create new HDF5 file.
To use this subroutine HDF5_ENABLE should be set to ON in CMake configuration
[in] | filename | file name |
[out] | handle | file handle |
[out] | error | HDF5 error code |
[in] | filename | file name |
[out] | handle | file handle |
[out] | error | error code |
Definition at line 168 of file sll_m_hdf5_io_serial.F90.
subroutine, public sll_m_hdf5_io_serial::sll_s_hdf5_ser_file_open | ( | character(len=*), intent(in) | filename, |
type(sll_t_hdf5_ser_handle), intent(out) | handle, | ||
integer, intent(out) | error | ||
) |
Open existing HDF5 file.
[in] | filename | file name |
[out] | handle | file handle |
[out] | error | HDF5 error code |
[in] | filename | file name |
[out] | handle | file handle |
[out] | error | error code |
Definition at line 186 of file sll_m_hdf5_io_serial.F90.
subroutine, public sll_m_hdf5_io_serial::sll_s_hdf5_ser_write_file | ( | type(sll_t_hdf5_ser_handle), intent(in) | handle, |
character(len=*), intent(in) | filename, | ||
character(len=*), intent(in) | dsetname, | ||
integer, intent(out) | error | ||
) |
Read complete file to string and store it into HDF5 data structure.
[in] | handle | file handle |
[in] | filename | name of file to be copied |
[in] | dsetname | HDF5 dataset name |
[out] | error | HDF5 error code |
Definition at line 408 of file sll_m_hdf5_io_serial.F90.
|
private |
Definition at line 83 of file sll_m_hdf5_io_serial.F90.
|
private |
Definition at line 82 of file sll_m_hdf5_io_serial.F90.