| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public | :: | write_results |
from cfg: write result to file active |
|||
| real(kind=dp), | public | :: | min_save_time |
from cfg: minimum time before saving |
|||
| real(kind=dp), | public | :: | last_saved_time | = | 0 |
updated when data is saved |
|
| integer, | public | :: | steps_to_revert | = | 0 |
nb of HDF5 entries to revert after rollback (persistent across rejected steps) |
|
| logical, | public | :: | write_results2D |
from cfg: write 2D results to specific files |
|||
| real(kind=dp), | public | :: | time_btw_2D_writes |
from cfg: physical time between 2D writes |
|||
| integer(kind=hid_t), | public | :: | file_id | ||||
| type(tbl_dsc_t), | public, | allocatable | :: | tbl_dsc(:) | |||
| type(growing_h5_tbl_t), | public, | allocatable | :: | tables(:) | |||
| type(growing_h5_tbl_t), | public | :: | time |
growing tables |
|||
| type(growing_h5_tbl_t), | public | :: | global |
growing tables |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(hdf5_t), | intent(inout) | :: | me | |||
| character(len=*), | intent(in) | :: | table | |||
| character(len=*), | intent(in) | :: | variables(:) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(hdf5_t), | intent(inout) | :: | me | |||
| type(hdf_desc_t), | intent(inout), | target | :: | desc | ||
| character(len=*), | intent(in) | :: | tbl_name |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(hdf5_t), | intent(inout), | target | :: | me |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(hdf5_t), | intent(inout) | :: | me |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(hdf5_t), | intent(inout) | :: | me | |||
| real(kind=dp), | intent(in) | :: | t | |||
| real(kind=dp), | intent(in) | :: | dt | |||
| real(kind=dp), | intent(in) | :: | t_final |
type hdf5_t logical :: write_results !! from cfg: write result to file active real(dp) :: min_save_time !! from cfg: minimum time before saving real(dp) :: last_saved_time = 0 !! updated when data is saved integer :: steps_to_revert = 0 !! nb of HDF5 entries to revert after rollback (persistent across rejected steps) logical :: write_results2D !! from cfg: write 2D results to specific files real(dp) :: time_btw_2D_writes !! from cfg: physical time between 2D writes integer(hid_t) :: file_id type(tbl_dsc_t), allocatable :: tbl_dsc(:) type(growing_h5_tbl_t), allocatable :: tables(:) type(growing_h5_tbl_t) :: time, global !! growing tables contains procedure :: add_table => hdf5_add_table procedure :: add_to_table => hdf5_add_to_table procedure :: prepare_data => hdf5_prepare_data procedure :: init => hdf5_init procedure :: close => hdf5_close procedure :: write => hdf5_write end type hdf5_t