File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
src/parameterizations/lateral Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -150,10 +150,10 @@ end function eq_phase
150
150
! > Looks up angular frequencies for the main tidal constituents.
151
151
! ! Values used here are from previous versions of MOM.
152
152
function tidal_frequency (constit )
153
- character (len= 2 ), intent (in ) :: constit ! > Constituent to look up
153
+ character (len=* ), intent (in ) :: constit ! > Constituent to look up
154
154
real :: tidal_frequency ! > Angular frequency [rad s-1]
155
155
156
- select case (constit)
156
+ select case (trim ( constit) )
157
157
case (" M2" )
158
158
tidal_frequency = 1.4051890e-4
159
159
case (" S2" )
@@ -174,6 +174,18 @@ function tidal_frequency(constit)
174
174
tidal_frequency = 0.053234e-4
175
175
case (" MM" )
176
176
tidal_frequency = 0.026392e-4
177
+ case (" MK3" )
178
+ tidal_frequency = 2.1344007e-4
179
+ case (" M4" )
180
+ tidal_frequency = 2.8103780e-4
181
+ case (" MS4" )
182
+ tidal_frequency = 2.8596300e-4
183
+ case (" S4" )
184
+ tidal_frequency = 2.9088820e-4
185
+ case (" M6" )
186
+ tidal_frequency = 4.2155670e-4
187
+ case (" M8" )
188
+ tidal_frequency = 5.6207560e-4
177
189
case default
178
190
call MOM_error(FATAL, " tidal_frequency: unrecognized constituent" )
179
191
end select
You can’t perform that action at this time.
0 commit comments