10 implicit none ;
private 51 interface assignment(=); module
procedure hit_assign ; end interface
56 subroutine hor_index_init(Domain, HI, param_file, local_indexing, index_offset)
60 logical,
optional,
intent(in) :: local_indexing
61 integer,
optional,
intent(in) :: index_offset
64 #include "version_variable.h" 69 hi%isd, hi%ied, hi%jsd, hi%jed, &
70 hi%isg, hi%ieg, hi%jsg, hi%jeg, &
71 hi%idg_offset, hi%jdg_offset, hi%symmetric, &
72 local_indexing=local_indexing)
75 call log_version(param_file,
"MOM_hor_index", version, &
76 "Sets the horizontal array index types.")
78 hi%IscB = hi%isc ; hi%JscB = hi%jsc
79 hi%IsdB = hi%isd ; hi%JsdB = hi%jsd
80 hi%IsgB = hi%isg ; hi%JsgB = hi%jsg
81 if (hi%symmetric)
then 82 hi%IscB = hi%isc-1 ; hi%JscB = hi%jsc-1
83 hi%IsdB = hi%isd-1 ; hi%JsdB = hi%jsd-1
84 hi%IsgB = hi%isg-1 ; hi%JsgB = hi%jsg-1
86 hi%IecB = hi%iec ; hi%JecB = hi%jec
87 hi%IedB = hi%ied ; hi%JedB = hi%jed
88 hi%IegB = hi%ieg ; hi%JegB = hi%jeg
100 hi1%isc = hi2%isc ; hi1%iec = hi2%iec ; hi1%jsc = hi2%jsc ; hi1%jec = hi2%jec
101 hi1%isd = hi2%isd ; hi1%ied = hi2%ied ; hi1%jsd = hi2%jsd ; hi1%jed = hi2%jed
102 hi1%isg = hi2%isg ; hi1%ieg = hi2%ieg ; hi1%jsg = hi2%jsg ; hi1%jeg = hi2%jeg
104 hi1%IscB = hi2%IscB ; hi1%IecB = hi2%IecB ; hi1%JscB = hi2%JscB ; hi1%JecB = hi2%JecB
105 hi1%IsdB = hi2%IsdB ; hi1%IedB = hi2%IedB ; hi1%JsdB = hi2%JsdB ; hi1%JedB = hi2%JedB
106 hi1%IsgB = hi2%IsgB ; hi1%IegB = hi2%IegB ; hi1%JsgB = hi2%JsgB ; hi1%JegB = hi2%JegB
108 hi1%idg_offset = hi2%idg_offset ; hi1%jdg_offset = hi2%jdg_offset
109 hi1%symmetric = hi2%symmetric
subroutine, public hor_index_init(Domain, HI, param_file, local_indexing, index_offset)
Sets various index values in a hor_index_type.
Defines the horizontal index type (hor_index_type) used for providing index ranges.
Container for horizontal index ranges for data, computational and global domains. ...
subroutine hit_assign(HI1, HI2)
HIT_assign copies one hor_index_type into another. It is accessed via an assignment (=) operator...
subroutine, public mom_mesg(message, verb, all_print)
The MOM_domain_type contains information about the domain decompositoin.
subroutine, public get_domain_extent(Domain, isc, iec, jsc, jec, isd, ied, jsd, jed, isg, ieg, jsg, jeg, idg_offset, jdg_offset, symmetric, local_indexing, index_offset)
subroutine, public mom_error(level, message, all_print)