version 0.6.0
variables_checkpoint_restart Module Reference

Declaration variables associated to checkpoint/restart.

Variables

logical is_checkpoint = .false.
 Activate checkpoint.
 
logical checkpoint_file_numbering = .false.
 File numbering.
 
logical is_restart = .false.
 Activate the restart.
 
logical is_initial_conditions_checkpoint = .false.
 Checkpoint of the initial condition.
 
logical is_last_iteration_checkpoint = .true.
 Checkpoint at last time iteration.
 
character(len=:), allocatable checkpoint_filename
 Checkpoint filename (path + base name)
 
character(len=:), allocatable restart_filename
 Restart filename (full name)
 
integer checkpoint_metric = checkpoint_metric_cpu_time
 Checkpoint metric.
 
integer checkpoint_frequency = 86000
 Frequency of checkpoint (in seconds if metric is cpu_time)
 
integer checkpoint_counter = 0
 Checkpoint counter (used if checkpoint_metric_cpu_time)
 
integer checkpoint_n_files = 2
 Number of checkpoint files.
 
integer checkpoint_file = 0
 Current checkpoint file number.