@@ -13,16 +13,16 @@ module forcing_field_mod
13
13
implicit none
14
14
private
15
15
16
- ! Forcing fields can have a domain
17
- integer , parameter , public :: FORCING_FIELD_DOMAIN_NONE = 0
18
- integer , parameter , public :: FORCING_FIELD_DOMAIN_ATMOSPHERE = 10
19
- integer , parameter , public :: FORCING_FIELD_DOMAIN_LAND = 20
16
+ ! Forcing fields can have a realm
17
+ integer , parameter , public :: FORCING_FIELD_REALM_NONE = 0
18
+ integer , parameter , public :: FORCING_FIELD_REALM_ATMOSPHERE = 10
19
+ integer , parameter , public :: FORCING_FIELD_REALM_LAND = 20
20
20
21
21
type, public :: forcing_field
22
22
character (len= 64 ), dimension (:), allocatable :: names
23
23
character (len= 64 ) :: coupling_name
24
24
character (len= 1024 ), dimension (:), allocatable :: filename_templates
25
- integer :: domain
25
+ integer :: realm
26
26
27
27
integer :: dt
28
28
character (len= 9 ) :: calendar
@@ -46,13 +46,13 @@ module forcing_field_mod
46
46
47
47
contains
48
48
49
- subroutine forcing_field_init (self , name_list , filename_template_list , cname , domain , &
49
+ subroutine forcing_field_init (self , name_list , filename_template_list , cname , realm , &
50
50
start_date , product_name , loggerin , dt , calendar )
51
51
class(forcing_field), intent (inout ) :: self
52
52
character (len=* ), dimension (:), intent (in ) :: name_list
53
53
character (len=* ), dimension (:), intent (in ) :: filename_template_list
54
54
character (len=* ), intent (in ) :: cname
55
- character (len=* ), intent (in ) :: domain
55
+ character (len=* ), intent (in ) :: realm
56
56
type (datetime), intent (in ) :: start_date
57
57
character (len=* ), intent (in ) :: product_name
58
58
type (logger_type), target , intent (in ) :: loggerin
@@ -71,12 +71,12 @@ subroutine forcing_field_init(self, name_list, filename_template_list, cname, do
71
71
self% names(:) = name_list(:)
72
72
self% filename_templates(:) = filename_template_list(:)
73
73
self% coupling_name = cname
74
- if (domain == ' atmosphere' ) then
75
- self% domain = FORCING_FIELD_DOMAIN_ATMOSPHERE
74
+ if (realm == ' atmosphere' ) then
75
+ self% realm = FORCING_FIELD_REALM_ATMOSPHERE
76
76
else
77
- call assert(trim (domain ) == ' land' , &
78
- " Invalid domain value." )
79
- self% domain = FORCING_FIELD_DOMAIN_LAND
77
+ call assert(trim (realm ) == ' land' , &
78
+ " Invalid realm value." )
79
+ self% realm = FORCING_FIELD_REALM_LAND
80
80
endif
81
81
82
82
self% product_name = trim (product_name)
0 commit comments