Initialize the global restart data type and prepare for the restart output
This routine is called as well for read as for write restart tasks It must be called after tem_load_restart and before the first call to any of tem_restart_* This routine is called only when restart is read from the restart table. If restart is performed from the initial condition table, then different routines (which are basically wrapped around by this one) are invoked
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_restart_type), | intent(inout) | :: | me | The restart object to initialize. |
||
type(tem_solveHead_type), | intent(in), | optional | :: | solver | Details about the solver. |
|
type(tem_varMap_type), | intent(in) | :: | varMap | Description of each variable system. This is ignored, if the data is provided by reading a restart. Contains position of variables to dump in restart file in global variable system for a scheme |
||
type(treelmesh_type), | intent(in) | :: | tree | Mesh, provided in treelm format |
||
type(tem_subTree_type), | intent(in), | optional | :: | subTree | optional subTree of the given tree |
|
integer, | intent(in), | optional | :: | nDofs_write | number of degrees of freedom for each variable of the equation system |
|
integer, | intent(in), | optional | :: | chunkSize | use predefined chunkSize |
|
integer, | intent(in), | optional | :: | solSpec_unit | Solver specific unit for restart header |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | comm | ||||
integer, | private | :: | rank | ||||
integer, | private | :: | comm_size | ||||
integer, | private | :: | locElems | ||||
integer(kind=long_k), | private | :: | globElems | ||||
integer(kind=long_k), | private | :: | elemOff | ||||
integer, | private | :: | read_stat | ||||
logical, | private | :: | nUnitOpened | ||||
character(len=320), | private | :: | solve_line |