forked from mom-ocean/MOM6
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mom-ocean#34 from Hallberg-NOAA/coupler_type_refor…
…m_rwh Coupler type reform rwh
- Loading branch information
Showing
9 changed files
with
347 additions
and
190 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,6 +90,7 @@ module time_manager_mod | |
! Subroutines and functions operating on time_type | ||
public set_time, increment_time, decrement_time, get_time, interval_alarm | ||
public repeat_alarm, time_type_to_real, real_to_time_type | ||
public time_list_error | ||
|
||
! List of available calendar types | ||
public THIRTY_DAY_MONTHS, JULIAN, GREGORIAN, NOLEAP, NO_CALENDAR, INVALID_CALENDAR | ||
|
@@ -3265,6 +3266,19 @@ function date_to_string(time, err_msg) | |
|
||
end function date_to_string | ||
|
||
!> \author Tom Robinson | ||
!! \email [email protected] | ||
!! \brief This routine converts the integer t%days to a string | ||
subroutine time_list_error (T,Terr) | ||
type(time_type), intent(in) :: t !< time_type input | ||
character(len=:), allocatable :: terr !< String holding the t%days | ||
!> Allocate the string | ||
allocate (character(len=10) :: terr) | ||
!> Write the integer to the string | ||
write (terr,'(I0)') t%days | ||
end subroutine time_list_error | ||
|
||
|
||
end module time_manager_mod | ||
|
||
! <INFO> | ||
|