and visualisation.
data to files intended for analysis and visualisation Unlike checkpoints, which are always full-resolution for exact restarts, snapshots can be strided to reduce file size.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(checkpoint_config_t), | public | :: | config | ||||
| integer, | public, | dimension(3) | :: | output_stride | = | [1, 1, 1] | |
| type(field_buffer_map_t), | public, | allocatable | :: | field_buffers(:) | |||
| integer(kind=i8), | public, | dimension(3) | :: | last_shape_dims | = | 0 | |
| integer, | public, | dimension(3) | :: | last_stride_factors | = | 0 | |
| integer(kind=i8), | public, | dimension(3) | :: | last_output_shape | = | 0 | |
| character(len=:), | public, | allocatable | :: | vtk_xml | |||
| logical, | public | :: | is_snapshot_file_open | = | .false. | ||
| type(writer_session_t), | public | :: | snapshot_writer | ||||
| logical, | public | :: | convert_to_sp | = | .false. |
Flag for single precision snapshots Steps of an existing file kept on restart; negative starts a new file |
|
| integer, | public | :: | append_after_steps | = | -1 |
Iteration the run restarted from, and the layout of the existing file |
|
| integer, | public | :: | restart_iter | = | 0 | ||
| character(len=:), | public, | allocatable | :: | restart_vtk_xml |
| procedure, public :: init | |
| procedure, public :: handle_restart | |
| procedure, public :: handle_snapshot_step | |
| procedure, public :: finalise |