Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
GOSI9esm
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Consortium Members
UKMO
GOSI
GOSI9esm
Commits
fd42a0e7
Commit
fd42a0e7
authored
2 years ago
by
Sebastien Masson
Browse files
Options
Downloads
Patches
Plain Diff
minor fix,
#150
parent
6d27f335
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/OCE/SBC/sbcssr.F90
+5
-6
5 additions, 6 deletions
src/OCE/SBC/sbcssr.F90
with
5 additions
and
6 deletions
src/OCE/SBC/sbcssr.F90
+
5
−
6
View file @
fd42a0e7
...
...
@@ -93,15 +93,14 @@ CONTAINS
IF
(
MOD
(
kt
-1
,
nn_fsbc
)
==
0
)
THEN
! Add restoring term !
! ! ========================= !
!
qrp
(:,:)
=
0._wp
! necessary init
erp
(:,:)
=
0._wp
!
IF
(
nn_sstr
==
1
)
THEN
!* Temperature restoring term
IF
(
nn_sstr
==
1
)
THEN
!* Temperature restoring term
DO_2D
(
0
,
0
,
0
,
0
)
zqrp
=
rn_dqdt
*
(
sst_m
(
ji
,
jj
)
-
sf_sst
(
1
)
%
fnow
(
ji
,
jj
,
1
)
)
*
smask0
(
ji
,
jj
)
qns
(
ji
,
jj
)
=
qns
(
ji
,
jj
)
+
zqrp
qrp
(
ji
,
jj
)
=
zqrp
END_2D
ELSEIF
(
nn_sssr
==
2
)
THEN
qrp
(:,:)
=
0._wp
! necessary init, see bellow: qrp(ji,jj) = qrp(ji,jj) - ...
ENDIF
!
IF
(
nn_sssr
/
=
0
.AND.
nn_sssr_ice
/
=
1
)
THEN
...
...
@@ -233,8 +232,8 @@ CONTAINS
!
coefice
(:,:)
=
1._wp
! Initialise coefice to 1._wp ; will not need to be changed if nn_sssr_ice=1
! !* Initialize qrp and erp if no restoring
IF
(
nn_sstr
/
=
1
)
qrp
(:,:)
=
0._wp
IF
(
nn_sssr
/
=
1
.
OR
.
nn_sssr
/
=
2
)
erp
(:,:)
=
0._wp
IF
(
nn_sstr
/
=
1
.AND.
nn_sssr
/
=
2
)
qrp
(:,:)
=
0._wp
IF
(
nn_sssr
/
=
1
.
AND
.
nn_sssr
/
=
2
)
erp
(:,:)
=
0._wp
!
END
SUBROUTINE
sbc_ssr_init
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment