Skip to content
Snippets Groups Projects
Commit f6c08321 authored by Sebastien Masson's avatar Sebastien Masson Committed by Guillaume Samson
Browse files

Resolve "missing F-folding in DOMAINcfg tool"

parent 8ae69514
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment