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
f6c08321
Commit
f6c08321
authored
1 year ago
by
Sebastien Masson
Committed by
Guillaume Samson
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "missing F-folding in DOMAINcfg tool"
parent
8ae69514
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
tools/DOMAINcfg/src/agrif_user.F90
+7
-7
7 additions, 7 deletions
tools/DOMAINcfg/src/agrif_user.F90
with
7 additions
and
7 deletions
tools/DOMAINcfg/src/agrif_user.F90
+
7
−
7
View file @
f6c08321
...
@@ -748,7 +748,7 @@
...
@@ -748,7 +748,7 @@
EXTERNAL
::
init_e2t
,
init_e2u
,
init_e2v
,
init_e2f
EXTERNAL
::
init_e2t
,
init_e2u
,
init_e2v
,
init_e2f
ln_perio
=
.FALSE.
ln_perio
=
.FALSE.
if
(
jperio
==
1
.OR.
jperio
==
2
.OR.
jperio
==
4
)
ln_perio
=
.TRUE.
IF
(
jperio
==
1
.OR.
jperio
==
2
.OR.
jperio
==
4
.OR.
jperio
==
6
)
ln_perio
=
.TRUE.
CALL
Agrif_Init_variable
(
e1t_id
,
procname
=
init_e1t
)
CALL
Agrif_Init_variable
(
e1t_id
,
procname
=
init_e1t
)
CALL
Agrif_Init_variable
(
e1u_id
,
procname
=
init_e1u
)
CALL
Agrif_Init_variable
(
e1u_id
,
procname
=
init_e1u
)
...
@@ -1216,8 +1216,8 @@
...
@@ -1216,8 +1216,8 @@
CALL
ctl_stop
(
'STOP'
,
'AGRIF zoom imin must be < imax'
)
CALL
ctl_stop
(
'STOP'
,
'AGRIF zoom imin must be < imax'
)
ENDIF
ENDIF
IF
(
(
Agrif_Parent
(
jperio
)
==
4
)
.OR.
(
Agrif_Parent
(
jperio
)
==
1
)
)
THEN
IF
(
Agrif_Parent
(
jperio
)
==
1
.OR.
Agrif_Parent
(
jperio
)
==
4
.OR.
Agrif_Parent
(
jperio
)
==
6
)
THEN
IF
(
(
jperio
==
4
)
.OR.
(
jperio
==
1
)
)
THEN
! Cyclic east-west zoom
IF
(
jperio
==
1
.OR.
jperio
==
4
.OR.
jperio
==
6
)
THEN
! Cyclic east-west zoom
lk_west
=
.FALSE.
;
lk_east
=
.FALSE.
lk_west
=
.FALSE.
;
lk_east
=
.FALSE.
! Checks:
! Checks:
IF
(
imin
/
=
1
-
Agrif_Parent
(
nbghostcells_x_w
)
)
THEN
IF
(
imin
/
=
1
-
Agrif_Parent
(
nbghostcells_x_w
)
)
THEN
...
@@ -1258,8 +1258,8 @@
...
@@ -1258,8 +1258,8 @@
CALL
ctl_stop
(
'STOP'
,
'AGRIF zoom jmin must be < jmax'
)
CALL
ctl_stop
(
'STOP'
,
'AGRIF zoom jmin must be < jmax'
)
ENDIF
ENDIF
IF
(
Agrif_Parent
(
jperio
)
==
4
)
THEN
IF
(
Agrif_Parent
(
jperio
)
==
4
.OR.
Agrif_Parent
(
jperio
)
==
6
)
THEN
IF
(
jperio
==
4
)
THEN
! North-Fold
IF
(
jperio
==
4
.OR.
jperio
==
6
)
THEN
! North-Fold
lk_north
=
.FALSE.
lk_north
=
.FALSE.
! Checks:
! Checks:
IF
(
jmax
/
=
Agrif_Parent
(
Nj0glo
)
+1
-
Agrif_Parent
(
nbghostcells_y_s
))
THEN
IF
(
jmax
/
=
Agrif_Parent
(
Nj0glo
)
+1
-
Agrif_Parent
(
nbghostcells_y_s
))
THEN
...
@@ -1300,10 +1300,10 @@
...
@@ -1300,10 +1300,10 @@
IF
(
.NOT.
lk_south
)
nbghostcells_y_s
=
1
IF
(
.NOT.
lk_south
)
nbghostcells_y_s
=
1
IF
(
.NOT.
lk_north
)
nbghostcells_y_n
=
1
IF
(
.NOT.
lk_north
)
nbghostcells_y_n
=
1
IF
(
(
jperio
==
1
)
.OR.
(
jperio
==
4
)
)
THEN
IF
(
jperio
==
1
.OR.
jperio
==
4
.OR.
jperio
==
6
)
THEN
nbghostcells_x_w
=
0
;
nbghostcells_x_e
=
0
nbghostcells_x_w
=
0
;
nbghostcells_x_e
=
0
ENDIF
ENDIF
IF
(
jperio
==
4
)
THEN
IF
(
jperio
==
4
.OR.
jperio
==
6
)
THEN
nbghostcells_y_n
=
0
nbghostcells_y_n
=
0
ENDIF
ENDIF
...
...
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