atl_writeRestartIfNecessary Subroutine

public subroutine atl_writeRestartIfNecessary(restart, simControl, equation, tree, mesh, force)

Writes a restart file, if necessary.

This routine checks whether writing restart files is activated at all. If so, it further checks whether a restart file has to be written at current point in time. If this also applies, a third check ensures that there wasn't already a restart file written for the current point in time.

Arguments

TypeIntentOptionalAttributesName
type(tem_restart_type) :: restart

the restart infotmation

type(tem_simControl_type), intent(inout) :: simControl
type(atl_Equations_type), intent(in) :: equation

The equation system you use.

type(treelmesh_type) :: tree

mesh, provided in treelm format

type(atl_cube_container_type), intent(inout) :: mesh

Informations and states of the cubic mesh.

logical, optional :: force

Set this to true to override the restart interval check.


Calls

proc~~atl_writerestartifnecessary~~CallsGraph proc~atl_writerestartifnecessary atl_writeRestartIfNecessary proc~tem_timecontrol_check tem_timeControl_check proc~atl_writerestartifnecessary->proc~tem_timecontrol_check proc~tem_simcontrol_dump_now tem_simControl_dump_now proc~atl_writerestartifnecessary->proc~tem_simcontrol_dump_now proc~atl_writerestart atl_writeRestart proc~atl_writerestartifnecessary->proc~atl_writerestart interface~tem_getoptvalordef tem_getOptValOrDef proc~atl_writerestartifnecessary->interface~tem_getoptvalordef proc~tem_restart_writedata tem_restart_writeData proc~atl_writerestart->proc~tem_restart_writedata proc~tem_stoptimer tem_stopTimer proc~atl_writerestart->proc~tem_stoptimer proc~tem_restart_closewrite tem_restart_closeWrite proc~atl_writerestart->proc~tem_restart_closewrite proc~serializedata serializeData proc~atl_writerestart->proc~serializedata proc~tem_starttimer tem_startTimer proc~atl_writerestart->proc~tem_starttimer proc~tem_restart_openwrite tem_restart_openWrite proc~atl_writerestart->proc~tem_restart_openwrite proc~tem_levelof tem_LevelOf proc~serializedata->proc~tem_levelof proc~tem_abort tem_abort proc~serializedata->proc~tem_abort proc~ply_transfer_dofs ply_transfer_dofs proc~serializedata->proc~ply_transfer_dofs proc~ply_transfer_dofs_3d ply_transfer_dofs_3D proc~ply_transfer_dofs->proc~ply_transfer_dofs_3d proc~ply_transfer_dofs_1d ply_transfer_dofs_1D proc~ply_transfer_dofs->proc~ply_transfer_dofs_1d proc~ply_transfer_dofs_2d ply_transfer_dofs_2D proc~ply_transfer_dofs->proc~ply_transfer_dofs_2d

Called by

proc~~atl_writerestartifnecessary~~CalledByGraph proc~atl_writerestartifnecessary atl_writeRestartIfNecessary proc~atl_solve_program atl_solve_program proc~atl_solve_program->proc~atl_writerestartifnecessary proc~atl_finalize_program atl_finalize_program proc~atl_finalize_program->proc~atl_writerestartifnecessary proc~atl_initialize_program atl_initialize_program proc~atl_initialize_program->proc~atl_writerestartifnecessary program~ateles ateles program~ateles->proc~atl_solve_program program~ateles->proc~atl_finalize_program program~ateles->proc~atl_initialize_program

Contents


Variables

TypeVisibilityAttributesNameInitial
logical, private :: doRestart
logical, private :: lForce