Neko 1.99.9
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
checkpoint.f90 File Reference

Go to the source code of this file.

Data Types

type  checkpoint::chkp_t
 Collection of live simulation data registered for checkpointing. More...
 

Modules

module  checkpoint
 Defines format-independent checkpoint registration and restart state.
 

Functions/Subroutines

subroutine checkpoint::chkp_init (this)
 Initialize an empty checkpoint.
 
subroutine checkpoint::chkp_free (this)
 Release all checkpoint payloads and restart metadata.
 
subroutine checkpoint::chkp_sync_host (this)
 Synchronise registered checkpoint data from device to host.
 
subroutine checkpoint::chkp_sync_device (this)
 Synchronise registered checkpoint data from host to device.
 
pure integer function checkpoint::chkp_scalar_payload_count (this)
 Return the number of registered scalar payloads.
 
type(checkpoint_payload_t) function, pointer checkpoint::chkp_add_payload (this, name)
 Add or return a checkpoint payload.
 
type(checkpoint_payload_t) function, pointer checkpoint::chkp_get_payload (this, name)
 Return a checkpoint payload by name.
 
pure integer function checkpoint::chkp_payload_count (this)
 Return the number of registered checkpoint payloads.
 
subroutine checkpoint::chkp_add_time_state (this, time_state)
 Register the simulation time history as a replicated payload.
 
subroutine checkpoint::chkp_get_time_history (this, tlag, dtlag)
 Return pointers to the simulation time history.
 
pure real(kind=dp) function checkpoint::chkp_restart_time (this)
 Return the restart time from a loaded checkpoint.
 
subroutine checkpoint::chkp_set_time_state (this, time_state)
 Restore a simulation time state from the checkpoint.