1 !WRF:MODEL_LAYER:bc_time_utilities
4 MODULE module_bc_time_utilities
7 Type(WRFU_Time), PRIVATE, SAVE :: time_to_read_again
13 LOGICAL FUNCTION lbc_read_time ( xtime )
15 Type (WRFU_Time), INTENT(IN) :: xtime
16 IF ( xtime .LT. time_to_read_again ) THEN
17 lbc_read_time = .false.
19 lbc_read_time = .true.
22 END FUNCTION lbc_read_time
24 SUBROUTINE set_time_to_read_again ( newtime )
26 Type(WRFU_Time), INTENT(IN) :: newtime
27 time_to_read_again = newtime
29 END SUBROUTINE set_time_to_read_again
31 SUBROUTINE get_time_to_read_again ( newtime )
33 Type(WRFU_Time), INTENT(OUT) :: newtime
34 newtime = time_to_read_again
36 END SUBROUTINE get_time_to_read_again
38 END MODULE module_bc_time_utilities