forked from ufs-community/UFS_UTILS
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feature/doxsfc
Fixes ufs-community#281
- Loading branch information
Showing
6 changed files
with
397 additions
and
177 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,35 +1,31 @@ | ||
!> @file | ||
!! . . . . | ||
!! Module to hold specification kinds for variable declaration. | ||
!! @brief Module to hold specification kinds for variable declaration. | ||
!! | ||
!! This module is based on (copied from) Paul vanDelst's | ||
!! type_kinds module found in the community radiative transfer | ||
!! model | ||
!! | ||
!! The numerical data types defined in this module are: | ||
!! - r_single - specification kind for single precision (4-byte) real variable | ||
!! - i_kind - generic specification kind for default integer | ||
!! - r_kind - generic specification kind for default floating point | ||
!! | ||
!! @author David Wright, University of Michigan | ||
module kinds | ||
implicit none | ||
private | ||
! | ||
! for name string | ||
integer, parameter, public :: len_sta_name = 8 | ||
integer, parameter, public :: len_sta_name = 8 !< Name length. | ||
|
||
! Integer type definitions below | ||
|
||
! Integer types | ||
integer, parameter, public :: i_kind = 4 | ||
integer, parameter, public :: i_short = 2 | ||
integer, parameter, public :: i_byte = 1 | ||
integer, parameter, public :: i_kind = 4 !< generic specification kind for default integer. | ||
integer, parameter, public :: i_short = 2 !< generic specification kind for default short. | ||
integer, parameter, public :: i_byte = 1 !< generic specification kind for default byte. | ||
! Real types | ||
integer, parameter, public :: r_single = 4 ! single precision | ||
integer, parameter, public :: r_kind = 8 | ||
integer, parameter, public :: r_single = 4 !< specification kind for single precision (4-byte) real variable. | ||
integer, parameter, public :: r_kind = 8 !< generic specification kind for default floating point | ||
|
||
! | ||
real(r_single),parameter,public :: rmissing=-99999.0 | ||
real(i_kind),parameter,public :: imissing=-99999 | ||
real(r_kind),parameter,public :: drmissing=-99999.0 | ||
real(r_single),parameter,public :: rmissing=-99999.0 !< Fill value for single real missing data. | ||
real(i_kind),parameter,public :: imissing=-99999 !< Fill value for integer missing data. | ||
real(r_kind),parameter,public :: drmissing=-99999.0 !< Fill value for double real missing data. | ||
|
||
end module kinds |
Oops, something went wrong.