tem_load_restart Subroutine

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

TypeIntentOptionalAttributesName
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_time_set_clock tem_time_set_clock proc~tem_load_restart->proc~tem_time_set_clock 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_timecontrol_load tem_timeControl_load proc~tem_load_restart->proc~tem_timecontrol_load proc~tem_timecontrol_align_trigger tem_timeControl_align_trigger proc~tem_load_restart->proc~tem_timecontrol_align_trigger proc~tem_abort tem_abort proc~tem_load_restart->proc~tem_abort 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 mpi_bcast mpi_bcast proc~tem_load_restart->mpi_bcast 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_dump tem_time_dump proc~tem_timecontrol_dump->proc~tem_time_dump mpi_wtime mpi_wtime proc~tem_time_set_clock->mpi_wtime proc~tem_time_reset->mpi_wtime proc~tem_restart_readheader->proc~aot_table_open proc~tem_restart_readheader->proc~aot_table_close proc~tem_restart_readheader->interface~aot_get_val~2 interface~tem_varsys_load tem_varSys_load proc~tem_restart_readheader->interface~tem_varsys_load proc~tem_open_distconf tem_open_distconf proc~tem_restart_readheader->proc~tem_open_distconf proc~load_tem load_tem proc~tem_restart_readheader->proc~load_tem proc~tem_time_sim_stamp tem_time_sim_stamp proc~tem_restart_readheader->proc~tem_time_sim_stamp proc~tem_time_load tem_time_load proc~tem_restart_readheader->proc~tem_time_load proc~close_config close_config proc~tem_restart_readheader->proc~close_config interface~tem_varsys_dump tem_varSys_dump proc~tem_restart_readheader->interface~tem_varsys_dump proc~tem_restart_readheader->proc~tem_time_dump 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 proc~tem_time_needs_reduce tem_time_needs_reduce proc~tem_timecontrol_load->proc~tem_time_needs_reduce proc~tem_timecontrol_load->proc~tem_time_load proc~tem_time_default_zero tem_time_default_zero proc~tem_timecontrol_load->proc~tem_time_default_zero interface~aot_get_val aot_get_val proc~tem_timecontrol_load->interface~aot_get_val proc~tem_timecontrol_align_trigger->proc~aot_table_open proc~tem_time_last_interval tem_time_last_interval proc~tem_timecontrol_align_trigger->proc~tem_time_last_interval 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 mpi_abort mpi_abort proc~tem_abort->mpi_abort

Contents


Variables

TypeVisibilityAttributesNameInitial
character(len=32), private :: localKey
logical, private :: readexists
integer, private :: restart_table
integer, private :: iError