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
0c63a503
Commit
0c63a503
authored
2 years ago
by
Guillaume S
Browse files
Options
Downloads
Patches
Plain Diff
manually report 74-ice-and-ssh-initialization-agrif-no-ice-in-zoom-case commit to branch_4.2
parent
34b6b5b2
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/IOM/restart.F90
+20
-2
20 additions, 2 deletions
src/OCE/IOM/restart.F90
with
20 additions
and
2 deletions
src/OCE/IOM/restart.F90
+
20
−
2
View file @
0c63a503
...
...
@@ -31,6 +31,10 @@ MODULE restart
USE
trdmxl_oce
! ocean active mixed layer tracers trends variables
USE
diu_bulk
! ???
#if defined key_agrif
#if defined key_si3
USE
iceistate
,
ONLY
:
rsshadj
,
nn_iceini_file
USE
sbc_oce
,
ONLY
:
ln_ice_embd
#endif
USE
agrif_oce_interp
#endif
!
...
...
@@ -420,8 +424,22 @@ CONTAINS
!
ENDIF
#if defined key_agrif
! Set ghosts points from parent
IF
(
.NOT.
Agrif_Root
())
CALL
Agrif_istate_ssh
(
Kbb
,
Kmm
,
Kaa
,
.true.
)
! Set ghosts points from parent
IF
(
.NOT.
Agrif_Root
())
THEN
CALL
Agrif_istate_ssh
(
Kbb
,
Kmm
,
Kaa
,
.true.
)
#if defined key_si3
IF
(
(
nn_ice
/
=
2
)
.AND.
((
Agrif_Parent
(
nn_ice
)
==
2
)
.AND.
&
&
(
.NOT.
(
Agrif_Parent
(
ln_rstart
)
&
&
.OR.
(
Agrif_Parent
(
nn_iceini_file
)
==
2
)))
.AND.
&
&
(
.NOT.
Agrif_Parent
(
ln_ice_embd
))
&
&
))
THEN
WHERE
(
ssmask
(:,:)
==
1._wp
)
ssh
(:,:,
Kmm
)
=
ssh
(:,:,
Kmm
)
-
Agrif_Parent
(
rsshadj
)
ssh
(:,:,
Kbb
)
=
ssh
(:,:,
Kbb
)
-
Agrif_Parent
(
rsshadj
)
ENDWHERE
ENDIF
#endif
ENDIF
#endif
#if defined key_RK3
ssh
(:,:,
Kmm
)
=
0._wp
!* RK3: set Kmm to 0 for AGRIF
...
...
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