|
Neko 1.99.9
A portable framework for high-order spectral element flow simulations
|
Collection of live simulation data registered for checkpointing. More...

Public Member Functions | |
| procedure, pass(this) | init (this) |
| Initialize an empty checkpoint. | |
| procedure, pass(this) | sync_host (this) |
| Synchronise registered checkpoint data from device to host. | |
| procedure, pass(this) | sync_device (this) |
| Synchronise registered checkpoint data from host to device. | |
| procedure, pass(this) | add_payload (this, name) |
| Add or return a checkpoint payload. | |
| procedure, pass(this) | get_payload (this, name) |
| Return a checkpoint payload by name. | |
| procedure, pass(this) | payload_count (this) |
| Return the number of registered checkpoint payloads. | |
| procedure, pass(this) | scalar_payload_count (this) |
| Return the number of registered scalar payloads. | |
| procedure, pass(this) | add_time_state (this, time_state) |
| Register the simulation time history as a replicated payload. | |
| procedure, pass(this) | get_time_history (this, tlag, dtlag) |
| Return pointers to the simulation time history. | |
| procedure, pass(this) | restart_time (this) |
| Return the restart time from a loaded checkpoint. | |
| procedure, pass(this) | set_time_state (this, time_state) |
| Restore a simulation time state from the checkpoint. | |
| procedure, pass(this) | free (this) |
| Release all checkpoint payloads and restart metadata. | |
Public Attributes | |
| type(checkpoint_payload_ptr_t), dimension(:), allocatable | payloads |
| Format-independent checkpoint payloads. | |
| real(kind=dp) | t = 0d0 |
| Restart time, valid after loading a checkpoint. | |
| type(mesh_t) | previous_mesh |
| Mesh on which an interpolated legacy checkpoint was written. | |
| type(space_t) | previous_xh |
| Function space of a loaded legacy checkpoint. | |
| real(kind=dp) | mesh2mesh_tol = GLOB_INTERP_TOL |
| Point-search tolerance for legacy mesh-to-mesh restart. | |
Definition at line 51 of file checkpoint.f90.
| procedure, pass(this) checkpoint::chkp_t::add_payload | ( | class(chkp_t), intent(inout) | this, |
| character(len=*), intent(in) | name | ||
| ) |
| name | Payload path to add or find. |
Definition at line 71 of file checkpoint.f90.
| procedure, pass(this) checkpoint::chkp_t::add_time_state | ( | class(chkp_t), intent(inout) | this, |
| type(time_state_t), intent(inout), target | time_state | ||
| ) |
| time_state | Simulation time history to register. |
Definition at line 79 of file checkpoint.f90.
Definition at line 87 of file checkpoint.f90.
| procedure, pass(this) checkpoint::chkp_t::get_payload | ( | class(chkp_t), intent(in) | this, |
| character(len=*), intent(in) | name | ||
| ) |
| name | Payload path to find. |
Definition at line 73 of file checkpoint.f90.
| procedure, pass(this) checkpoint::chkp_t::get_time_history | ( | class(chkp_t), intent(in) | this, |
| real(kind=dp), dimension(:), intent(out), pointer | tlag, | ||
| real(kind=dp), dimension(:), intent(out), pointer | dtlag | ||
| ) |
| tlag | Pointer to the registered previous times. |
| dtlag | Pointer to the registered previous time-step sizes. |
Definition at line 81 of file checkpoint.f90.
Definition at line 65 of file checkpoint.f90.
Definition at line 75 of file checkpoint.f90.
Definition at line 83 of file checkpoint.f90.
Definition at line 77 of file checkpoint.f90.
| procedure, pass(this) checkpoint::chkp_t::set_time_state | ( | class(chkp_t), intent(in) | this, |
| type(time_state_t), intent(inout) | time_state | ||
| ) |
| time_state | Simulation time state to restore. |
Definition at line 85 of file checkpoint.f90.
Definition at line 69 of file checkpoint.f90.
Definition at line 67 of file checkpoint.f90.
| real(kind=dp) checkpoint::chkp_t::mesh2mesh_tol = GLOB_INTERP_TOL |
Definition at line 62 of file checkpoint.f90.
| type(checkpoint_payload_ptr_t), dimension(:), allocatable checkpoint::chkp_t::payloads |
Definition at line 53 of file checkpoint.f90.
| type(mesh_t) checkpoint::chkp_t::previous_mesh |
Definition at line 58 of file checkpoint.f90.
| type(space_t) checkpoint::chkp_t::previous_xh |
Definition at line 60 of file checkpoint.f90.
| real(kind=dp) checkpoint::chkp_t::t = 0d0 |
Definition at line 56 of file checkpoint.f90.