atl_initRestart Subroutine

public subroutine atl_initRestart(restart, equation, solver, mesh, tree, nDofsIO, scheme_dim)

Initializes writing restart files, if activated.

Prepares the solver specific information for the restart header and calls initialization of underlying restart functionality in treelm.

Arguments

Type IntentOptional Attributes Name
type(tem_restart_type), intent(inout) :: restart

Description of the restart structure to initialize.

type(atl_Equations_type), intent(in) :: equation

The variable system of the current equation system.

type(tem_solveHead_type), intent(in) :: solver

General description of the deployed solver.

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

Levelwise representation of the mesh.

type(treelmesh_type), intent(in) :: tree

The octree of the mesh.

integer, intent(in) :: nDofsIO

The number of degrees of freedoms to write to/read from a restart file

integer, intent(in) :: scheme_dim

Dimensionality to be used for the state fields.