public subroutine tem_load_restart(me, conf, tree, timing, globProc, parent_table, key)
Read all necessary information for the restart from the lua config file.
Include this routine into your general configuration load routine.
The configuration looks as follows
restart = { read = 'restart/lastHeader.lua' , -- Which file to restart from,
-- if any
write = 'restart/' , -- Where to write the restart files to,
-- if any
time = { min = 0 , max = 10 , interval = 10 } -- when to output
}
Here, the restart is loaded from restart/lastHeader.lua
and reads in the
related data and configuration.
Restart files are written out in restart/
folder
Arguments
Type Intent Optional Attributes Name
type(tem_restart_type ),
intent(inout)
::
me restart type to be filled
type(flu_state)
::
conf lua configuration file
type(treelmesh_type ),
intent(inout)
::
tree mesh, provided in treelm format
type(tem_time_type ),
intent(inout)
::
timing the timing for re-setting the times
type(tem_comm_env_type ),
intent(in)
::
globProc Global process communicator env
integer,
intent(in),
optional ::
parent_table optional parent handle
character(len=*),
intent(in),
optional ::
key optional key for table
Calls
proc~~tem_load_restart~~CallsGraph
proc~tem_load_restart
tem_load_restart
proc~tem_timecontrol_dump
tem_timeControl_dump
proc~tem_load_restart->proc~tem_timecontrol_dump
proc~tem_timecontrol_align_trigger
tem_timeControl_align_trigger
proc~tem_load_restart->proc~tem_timecontrol_align_trigger
interface~aot_get_val~2
aot_get_val
proc~tem_load_restart->interface~aot_get_val~2
proc~tem_horizontalspacer
tem_horizontalSpacer
proc~tem_load_restart->proc~tem_horizontalspacer
proc~tem_time_set_clock
tem_time_set_clock
proc~tem_load_restart->proc~tem_time_set_clock
mpi_bcast
mpi_bcast
proc~tem_load_restart->mpi_bcast
proc~tem_timecontrol_load
tem_timeControl_load
proc~tem_load_restart->proc~tem_timecontrol_load
proc~aot_table_open
aot_table_open
proc~tem_load_restart->proc~aot_table_open
proc~aot_table_close
aot_table_close
proc~tem_load_restart->proc~aot_table_close
proc~tem_abort
tem_abort
proc~tem_load_restart->proc~tem_abort
proc~tem_time_reset
tem_time_reset
proc~tem_load_restart->proc~tem_time_reset
proc~tem_restart_readheader
tem_restart_readHeader
proc~tem_load_restart->proc~tem_restart_readheader
proc~tem_time_dump
tem_time_dump
proc~tem_timecontrol_dump->proc~tem_time_dump
proc~tem_timecontrol_align_trigger->proc~aot_table_open
proc~tem_time_ge_trigger
tem_time_ge_trigger
proc~tem_timecontrol_align_trigger->proc~tem_time_ge_trigger
proc~load_alignmask
load_alignmask
proc~tem_timecontrol_align_trigger->proc~load_alignmask
proc~tem_time_last_interval
tem_time_last_interval
proc~tem_timecontrol_align_trigger->proc~tem_time_last_interval
mpi_wtime
mpi_wtime
proc~tem_time_set_clock->mpi_wtime
proc~tem_timecontrol_load->proc~aot_table_open
proc~tem_timecontrol_load->proc~aot_table_close
proc~tem_time_never
tem_time_never
proc~tem_timecontrol_load->proc~tem_time_never
interface~aot_get_val
aot_get_val
proc~tem_timecontrol_load->interface~aot_get_val
proc~tem_time_default_zero
tem_time_default_zero
proc~tem_timecontrol_load->proc~tem_time_default_zero
proc~tem_time_needs_reduce
tem_time_needs_reduce
proc~tem_timecontrol_load->proc~tem_time_needs_reduce
proc~tem_time_load
tem_time_load
proc~tem_timecontrol_load->proc~tem_time_load
mpi_abort
mpi_abort
proc~tem_abort->mpi_abort
proc~tem_time_reset->mpi_wtime
proc~tem_restart_readheader->interface~aot_get_val~2
proc~tem_restart_readheader->proc~aot_table_open
proc~tem_restart_readheader->proc~aot_table_close
interface~tem_varsys_dump
tem_varSys_dump
proc~tem_restart_readheader->interface~tem_varsys_dump
interface~tem_varsys_load
tem_varSys_load
proc~tem_restart_readheader->interface~tem_varsys_load
proc~load_tem
load_tem
proc~tem_restart_readheader->proc~load_tem
proc~tem_open_distconf
tem_open_distconf
proc~tem_restart_readheader->proc~tem_open_distconf
proc~tem_restart_readheader->proc~tem_time_load
proc~close_config
close_config
proc~tem_restart_readheader->proc~close_config
proc~tem_time_sim_stamp
tem_time_sim_stamp
proc~tem_restart_readheader->proc~tem_time_sim_stamp
proc~tem_restart_readheader->proc~tem_time_dump
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Variables
Type Visibility Attributes Name Initial
character(len=32),
private ::
localKey
logical,
private ::
readexists
integer,
private ::
restart_table
integer,
private ::
iError