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.
| Type | Intent | Optional | 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. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | private | :: | doRestart | ||||
| logical, | private | :: | lForce |