Simulation seconds per wall-clock second (may be 0 or negative).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(SimulationClock), | intent(inout) | :: | self | |||
| real(kind=wp), | intent(in) | :: | scale |
simulation seconds per wall-clock second |
||
| real(kind=wp), | intent(in), | optional | :: | wall |
wall time (s; default: wall_time()) |
recursive subroutine set_time_scale(self, scale, wall) class(SimulationClock), intent(inout) :: self real(wp), intent(in) :: scale !! simulation seconds per wall-clock second real(wp), intent(in), optional :: wall !! wall time (s; default: wall_time()) if (associated(self%sync)) then call self%sync%set_time_scale(scale, wall) return end if self%scale_ = scale call self%set_time(self%time_, wall) end subroutine set_time_scale