Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
UVic-updates-opem
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Markus Pahlow
UVic-updates-opem
Commits
89c310cd
Commit
89c310cd
authored
Jun 04, 2020
by
Markus Pahlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
declare ipos in mw.h if not O_opem
parent
39d20165
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
21 deletions
+16
-21
source/common/UVic_ESCM.F
source/common/UVic_ESCM.F
+3
-8
source/common/filt.F
source/common/filt.F
+0
-3
source/common/npzd.h
source/common/npzd.h
+0
-8
source/mom/mw.h
source/mom/mw.h
+13
-2
No files found.
source/common/UVic_ESCM.F
View file @
89c310cd
...
...
@@ -256,10 +256,8 @@
# endif
# endif
# if defined O_cfcs_data || defined O_cfcs_data_transient
if
(
isscfc11
.ne.
0
)
sbc
(:,:,
isscfc11
)
=
&
t
(:,
1
,:,
icfc11
,
taup1
)
if
(
isscfc12
.ne.
0
)
sbc
(:,:,
isscfc12
)
=
&
t
(:,
1
,:,
icfc12
,
taup1
)
if
(
isscfc11
.ne.
0
)
sbc
(:,:,
isscfc11
)
=
t
(:,
1
,:,
icfc11
,
taup1
)
if
(
isscfc12
.ne.
0
)
sbc
(:,:,
isscfc12
)
=
t
(:,
1
,:,
icfc12
,
taup1
)
# endif
else
do
j
=
1
,
jmt
...
...
@@ -1111,9 +1109,6 @@
# include "matrix.h"
integer
ntile
# endif
# if defined O_opem_pos && !defined O_opem
# include "npzd.h"
# endif
!-----------------------------------------------------------------------
! Initialize ocean tracer names
...
...
@@ -1876,7 +1871,7 @@
vcsfac
=
0.
vcsyri
=
0.
aggfor_os
=
0.
adiff
=
0.03
! anom
o
lous diffusion factor (percent/100/C)
adiff
=
0.03
! anom
a
lous diffusion factor (percent/100/C)
cropf
=
1.
pastf
=
0.5
...
...
source/common/filt.F
View file @
89c310cd
...
...
@@ -33,9 +33,6 @@
# if defined O_opem_pos
&
,
dtr
(
imtm2
),
mtr
,
fract
,
tmin
(
imtm2
)
logical
msk
(
imtm2
),
msk1
(
imtm2
)
# if !defined O_opem
# include "npzd.h"
# endif
# endif
integer
,
parameter
::
tindx
(
*
)
=
(/(
n
,
n
=
1
,
imtm1
),
(
n
,
n
=
2
,
imtm1
)/)
integer
jtof
(
jmw
)
...
...
source/common/npzd.h
View file @
89c310cd
...
...
@@ -147,14 +147,6 @@
#endif
common
/
npzd_i
/
nbio
(
km
),
mxfntsb
#if defined O_opem_pos && !defined O_opem
integer
::
ipos
common
/
npzd_i
/
ipos
(
4
# if defined O_npzd_iron
&
+
2
# endif
&
)
#endif
real
,
parameter
::
trcmin
=
5e-12
...
...
source/mom/mw.h
View file @
89c310cd
...
...
@@ -89,7 +89,7 @@
!
izoop
=
index
for
zooplankton
!
idetr
=
index
for
detritus
#if defined O_npzzd
!
izoo2p
=
index
for
mesozooplankton
!
izoo2p
=
index
for
mesozooplankton
#endif
#if defined O_npzd_iron
!
idfe
=
index
for
iron
...
...
@@ -110,7 +110,10 @@
!
idial
=
index
for
diazotroph
chlorophyll
# endif
#endif
!
mapt
=
map
for
ocean
tracer
names
#if defined O_opem_pos
!
ipos
=
indices
of
tracers
to
be
kept
non
-
negative
#endif
!
mapt
=
map
for
ocean
tracer
names
character
(
10
)
::
mapt
common
/
mw_c
/
mapt
(
nt
)
...
...
@@ -126,6 +129,14 @@
integer
idfe
,
idetrfe
common
/
mw_i
/
idfe
,
idetrfe
#endif
#if defined O_opem_pos && !defined O_opem
integer
::
ipos
common
/
mw_i
/
ipos
(
4
# if defined O_npzd_iron
&
+
2
# endif
&
)
#endif
!
indices
for
ocean
tracer
source
array
!
istemp
=
index
for
temperature
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment