Time management utility
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=wp), | public | :: | dt |
Timestep |
|||
logical, | public | :: | finish | = | .false. |
Instructs simulation to end |
|
real(kind=wp), | public | :: | freq_output | = | huge(1.0_wp) |
Frequency of visualization writes |
|
real(kind=wp), | public | :: | freq_write | = | huge(1.0_wp) |
Frequency of restart writes |
|
integer, | public | :: | iter | = | 0 |
Current iteration |
|
integer, | public | :: | iter_max | = | huge(1) |
Maximum iterations |
|
type(parser_obj), | public, | pointer | :: | parser |
Parser object |
||
real(kind=wp), | public | :: | time | = | 0.0_wp |
Time at the n-th timestep |
|
real(kind=wp), | public | :: | time_max | = | huge(1.0_wp) |
Maximum simulation time |
|
real(kind=wp), | public | :: | time_wall | = | huge(1.0_wp) |
Wall time |
Determines whether simulation is over
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer_obj), | intent(inout) | :: | this |
Timer |
Change run status to finished
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer_obj), | intent(inout) | :: | this |
Timer |
Finalize
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer_obj), | intent(inout) | :: | this |
Timer |
Initialize the timer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer_obj), | intent(inout) | :: | this |
Timer |
||
type(parser_obj), | intent(in), | target | :: | parser |
Input file parsing tool |
Move timer from n to n+1
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer_obj), | intent(inout) | :: | this |
Timer |
Determine whether it is time to write visualization files
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer_obj), | intent(inout) | :: | this |
Timer |
Determine whether it is time to write restart files
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(timer_obj), | intent(inout) | :: | this |
Timer |