-
Notifications
You must be signed in to change notification settings - Fork 92
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 #136 from bandre-ucar/andre-fates-constants
Create FatesConstantMod to hold global constants
- Loading branch information
Showing
2 changed files
with
27 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module FatesConstantsMod | ||
! This module is used to define global _immutable_ data. Everything in | ||
! this module must have the parameter attribute. | ||
|
||
implicit none | ||
|
||
public | ||
|
||
! kinds | ||
integer, parameter :: fates_r8 = selected_real_kind(12) ! 8 byte real | ||
|
||
! string lengths | ||
integer, parameter :: fates_avg_flag_length = 3 | ||
integer, parameter :: fates_short_string_length = 32 | ||
integer, parameter :: fates_long_string_length = 199 | ||
|
||
end module FatesConstantsMod |
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