Update the clock measurement in the time description.
The clock component in me is updated with the help of MPI_Wtime.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_time_type), | intent(inout) | :: | me |
Time setting to update. |
subroutine tem_time_set_clock(me)
! -------------------------------------------------------------------- !
!> Time setting to update.
type(tem_time_type), intent(inout) :: me
! -------------------------------------------------------------------- !
! -------------------------------------------------------------------- !
me%clock = MPI_Wtime() - me%clock_start
end subroutine tem_time_set_clock