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

Type IntentOptional Attributes Name
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 bits bits proc~atl_writerestartifnecessary->bits proc~atl_writerestart atl_writeRestart proc~atl_writerestartifnecessary->proc~atl_writerestart tem_getOptValOrDef tem_getOptValOrDef proc~atl_writerestartifnecessary->tem_getOptValOrDef tem_simControl_dump_now tem_simControl_dump_now proc~atl_writerestartifnecessary->tem_simControl_dump_now tem_timeControl_check tem_timeControl_check proc~atl_writerestartifnecessary->tem_timeControl_check proc~serializedata serializeData proc~atl_writerestart->proc~serializedata tem_restart_closeWrite tem_restart_closeWrite proc~atl_writerestart->tem_restart_closeWrite tem_restart_openWrite tem_restart_openWrite proc~atl_writerestart->tem_restart_openWrite tem_restart_writeData tem_restart_writeData proc~atl_writerestart->tem_restart_writeData tem_startTimer tem_startTimer proc~atl_writerestart->tem_startTimer tem_stopTimer tem_stopTimer proc~atl_writerestart->tem_stopTimer proc~ply_transfer_dofs ply_transfer_dofs proc~serializedata->proc~ply_transfer_dofs tem_LevelOf tem_LevelOf proc~serializedata->tem_LevelOf tem_abort tem_abort proc~serializedata->tem_abort 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 proc~ply_transfer_dofs_3d ply_transfer_dofs_3D proc~ply_transfer_dofs->proc~ply_transfer_dofs_3d

Called by

proc~~atl_writerestartifnecessary~~CalledByGraph proc~atl_writerestartifnecessary 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 proc~atl_solve_program atl_solve_program proc~atl_solve_program->proc~atl_writerestartifnecessary program~ateles ateles program~ateles->proc~atl_finalize_program program~ateles->proc~atl_initialize_program program~ateles->proc~atl_solve_program