Changeset 15119
- Timestamp:
- 2021-07-13T16:43:22+02:00 (3 years ago)
- Location:
- NEMO/trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/NST/agrif_all_update.F90
r12377 r15119 61 61 CALL agrif_update_ice() ! Update sea ice 62 62 #endif 63 IF (lwp.AND.lk_agrif_debug) Write(*,*) ' <-- END AGRIF UPDATE from grid Number',Agrif_Fixed()64 63 ! 65 64 Agrif_UseSpecialValueInUpdate = .FALSE. 66 END SUBROUTINE agrif_Update_All 65 ! 66 ! If zooms are crossing or are coincident with cyclic boundaries 67 ! need to update ghost points on parent edges: 68 IF ( (Agrif_Parent(l_Iperio).OR.Agrif_Parent(l_NFold)).AND. & 69 & (( Agrif_Ix() <= 1 ).OR.( Agrif_Iy() + nbcellsy/AGRIF_Irhoy() >= Agrif_Parent(Nj0glo) - 1 ))) THEN 70 CALL Agrif_ChildGrid_To_ParentGrid() 71 CALL finalize_lbc_for_agrif 72 CALL Agrif_ParentGrid_To_ChildGrid() 73 ENDIF 74 75 IF (lwp.AND.lk_agrif_debug) Write(*,*) ' <-- END AGRIF UPDATE from grid Number',Agrif_Fixed() 76 77 END SUBROUTINE agrif_Update_All 78 79 SUBROUTINE finalize_lbc_for_agrif 80 !!--------------------------------------------- 81 !! *** ROUTINE finalize lbc_for-agrif *** 82 !!--------------------------------------------- 83 USE lbclnk 84 #if defined key_qco 85 USE domqco 86 #endif 87 ! 88 CALL lbc_lnk( 'finalize_lbc_for_agrif', uu(:,:,:, Kmm_a), 'U', -1._wp, & 89 & vv(:,:,:, Kmm_a), 'V', -1._wp, & 90 & uu(:,:,:, Kbb_a), 'U', -1._wp, & 91 & vv(:,:,:, Kbb_a), 'V', -1._wp, & 92 & ts(:,:,:,jp_tem,Kmm_a), 'T', 1._wp, & 93 & ts(:,:,:,jp_sal,Kmm_a), 'T', 1._wp, & 94 & ts(:,:,:,jp_tem,Kbb_a), 'T', 1._wp, & 95 & ts(:,:,:,jp_sal,Kbb_a), 'T', 1._wp ) 96 CALL lbc_lnk( 'finalize_lbc_for_agrif', ssh(:,:, Kmm_a), 'T', 1._wp, & 97 & ssh(:,:, Kbb_a), 'T', 1._wp, & 98 & uu_b(:,:, Kmm_a), 'U',-1._wp, & 99 & uu_b(:,:, Kbb_a), 'U',-1._wp, & 100 & vv_b(:,:, Kmm_a), 'V',-1._wp, & 101 & vv_b(:,:, Kbb_a), 'V',-1._wp, & 102 & ub2_b(:,:), 'U',-1._wp, & 103 & ub2_i_b(:,:), 'U',-1._wp, & 104 & vb2_b(:,:), 'V',-1._wp, & 105 & vb2_i_b(:,:), 'V',-1._wp ) 106 107 #if defined key_qco 108 CALL dom_qco_zgr( Kbb_a, Kmm_a ) 109 #endif 110 #if defined key_si3 111 CALL lbc_lnk( 'finalize_lbc_for_agrif', a_i, 'T',1._wp, v_i,'T',1._wp, & 112 & v_s, 'T',1._wp, sv_i,'T',1._wp, oa_i,'T',1._wp, & 113 & a_ip,'T',1._wp, v_ip,'T',1._wp, v_il,'T',1._wp ) 114 CALL lbc_lnk( 'finalize_lbc_for_agrif', t_su,'T',1._wp ) 115 CALL lbc_lnk( 'finalize_lbc_for_agrif', e_s,'T',1._wp ) 116 CALL lbc_lnk( 'finalize_lbc_for_agrif', e_i,'T',1._wp ) 117 CALL lbc_lnk( 'finalize_lbc_for_agrif', u_ice, 'U', -1._wp, v_ice, 'V', -1._wp ) 118 #endif 119 #if defined key_top 120 CALL lbc_lnk( 'finalize_lbc_for_agrif', tr(:,:,:,:,Kmm_a), 'T',1._wp ) 121 CALL lbc_lnk( 'finalize_lbc_for_agrif', tr(:,:,:,:,Kbb_a), 'T',1._wp ) 122 #endif 123 ! 124 END SUBROUTINE finalize_lbc_for_agrif 67 125 68 126 #else -
NEMO/trunk/src/NST/agrif_oce_interp.F90
r15113 r15119 1399 1399 ! 1400 1400 INTEGER :: ji, jj 1401 INTEGER :: imin, imax, jmin, jmax 1401 1402 REAL(wp) :: zrhox, zrhoy, zx 1402 1403 !!---------------------------------------------------------------------- 1403 1404 IF( before ) THEN 1404 1405 ptab(:,:) = 0._wp 1405 DO ji=i1+1,i2-1 1406 DO jj=j1+1,j2-1 1406 imin = MAX(i1, 2) ; imax = MIN(i2, jpi-1) 1407 jmin = MAX(j1, 2) ; jmax = MIN(j2, jpj-1) 1408 DO ji=imin,imax 1409 DO jj=jmin,jmax 1407 1410 ptab(ji,jj) = 0.25_wp*( ( vb2_b(ji+1,jj )*e1v(ji+1,jj ) & 1408 1411 & -vb2_b(ji-1,jj )*e1v(ji-1,jj ) ) & … … 1418 1421 DO jj=j1,j2 1419 1422 IF (utint_stage(ji,jj)==0) THEN 1420 zx = 2._wp*MOD(ABS(mig0(ji)-nbghostcells_x ), INT(Agrif_Rhox()))/zrhox - 1._wp1423 zx = 2._wp*MOD(ABS(mig0(ji)-nbghostcells_x_w), INT(Agrif_Rhox()))/zrhox - 1._wp 1421 1424 ubdy(ji,jj) = ubdy(ji,jj) + 0.25_wp*(1._wp-zx*zx) * ptab(ji,jj) & 1422 1425 & / zrhoy *r1_e2u(ji,jj) * umask(ji,jj,1) … … 1503 1506 ! 1504 1507 INTEGER :: ji, jj 1508 INTEGER :: imin, imax, jmin, jmax 1505 1509 REAL(wp) :: zrhox, zrhoy, zy 1506 1510 !!---------------------------------------------------------------------- 1507 1511 IF( before ) THEN 1508 1512 ptab(:,:) = 0._wp 1509 DO ji=i1+1,i2-1 1510 DO jj=j1+1,j2-1 1513 imin = MAX(i1, 2) ; imax = MIN(i2, jpi-1) 1514 jmin = MAX(j1, 2) ; jmax = MIN(j2, jpj-1) 1515 DO ji=imin,imax 1516 DO jj=jmin,jmax 1511 1517 ptab(ji,jj) = 0.25_wp*( ( ub2_b(ji ,jj+1)*e2u(ji ,jj+1) & 1512 1518 & -ub2_b(ji ,jj-1)*e2u(ji ,jj-1) ) & -
NEMO/trunk/src/NST/agrif_user.F90
r15029 r15119 64 64 ! In case of East-West periodicity, prevent AGRIF interpolation at east and west boundaries 65 65 ! The procnames will not be called at these boundaries 66 IF ( l_Iperio) THEN66 IF ( .NOT. lk_west ) THEN 67 67 CALL Agrif_Set_NearCommonBorderX(.TRUE.) 68 ENDIF 69 70 IF ( .NOT. lk_east ) THEN 68 71 CALL Agrif_Set_DistantCommonBorderX(.TRUE.) 69 72 ENDIF … … 80 83 !--------------------------------------------------------------------- 81 84 ! ind1 = nbghostcells 82 ind2 = nn_hls + 1 + nbghostcells_x 85 ind2 = nn_hls + 1 + nbghostcells_x_w 83 86 ind3 = nn_hls + 1 + nbghostcells_y_s 84 nbghostcellsfine_tot_x = nbghostcells_x+187 nbghostcellsfine_tot_x = MAX(nbghostcells_x_w,nbghostcells_x_e)+1 85 88 nbghostcellsfine_tot_y = MAX(nbghostcells_y_s,nbghostcells_y_n)+1 86 89 ind1 = MAX(nbghostcellsfine_tot_x, nbghostcellsfine_tot_y) … … 432 435 !--------------------------------------------------------------------- 433 436 ind1 = nbghostcells 434 ind2 = nn_hls + 1 + nbghostcells_x 437 ind2 = nn_hls + 1 + nbghostcells_x_w 435 438 ind3 = nn_hls + 1 + nbghostcells_y_s 436 439 imaxrho = MAX(Agrif_irhox(), Agrif_irhoy()) … … 616 619 USE Agrif_Util 617 620 USE ice 618 USE par_oce, ONLY : nbghostcells, nbghostcells_x , nbghostcells_y_s621 USE par_oce, ONLY : nbghostcells, nbghostcells_x_w, nbghostcells_y_s 619 622 ! 620 623 IMPLICIT NONE … … 632 635 !------------------------------------------------------------------------------------- 633 636 ind1 = nbghostcells 634 ind2 = nn_hls + 1 + nbghostcells_x 637 ind2 = nn_hls + 1 + nbghostcells_x_w 635 638 ind3 = nn_hls + 1 + nbghostcells_y_s 636 639 ipl = jpl*(9+nlay_s+nlay_i) … … 780 783 !--------------------------------------------------------------------- 781 784 ind1 = nbghostcells 782 ind2 = nn_hls + 1 + nbghostcells_x 785 ind2 = nn_hls + 1 + nbghostcells_x_w 783 786 ind3 = nn_hls + 1 + nbghostcells_y_s 784 787 imaxrho = MAX(Agrif_irhox(), Agrif_irhoy()) … … 863 866 ! JC => side effects of lines below to be checked: 864 867 IF (.not.agrif_root()) THEN 865 nbghostcells_x = nbghostcells 868 nbghostcells_x_w = nbghostcells 869 nbghostcells_x_e = nbghostcells 866 870 nbghostcells_y_s = nbghostcells 867 871 nbghostcells_y_n = nbghostcells … … 875 879 ! Correct number of ghost cells according to periodicity 876 880 ! 877 IF( l_Iperio ) THEN ; lk_west = .FALSE. ; lk_east = .FALSE. ; nbghostcells_x = 0 ; ENDIF 881 IF( l_Iperio ) THEN ; lk_west = .FALSE. ; lk_east = .FALSE. ; nbghostcells_x_w = 0 ; nbghostcells_x_e = 0 ; ENDIF 882 IF( l_NFold ) THEN 883 lk_west = .FALSE. ; lk_east = .FALSE. ; nbghostcells_x_w = 0 ; nbghostcells_x_e = 0 884 lk_north = .FALSE. ; lk_south = .FALSE. ; nbghostcells_y_s = 0 ; nbghostcells_y_n = 0 885 ENDIF 878 886 IF( Agrif_Iy() == 1 ) THEN ; lk_south = .FALSE. ; nbghostcells_y_s = 1 ; ENDIF 879 887 IF( Agrif_Iy() + nbcellsy/AGRIF_Irhoy() == Agrif_Parent(Nj0glo) - 1 ) THEN ; lk_north = .FALSE. ; nbghostcells_y_n = 1 ; ENDIF 888 IF( Agrif_Ix() == 1 ) THEN ; lk_west = .FALSE. ; nbghostcells_x_w = 1 ; ENDIF 889 IF( Agrif_Ix() + nbcellsx/AGRIF_Irhox() == Agrif_Parent(Ni0glo) - 1 ) THEN ; lk_east = .FALSE. ; nbghostcells_x_e = 1 ; ENDIF 880 890 ! 881 891 ! Some checks 882 892 IF( (.NOT.ln_vert_remap).AND.(jpkglo>Agrif_Parent(jpkglo)) ) CALL ctl_stop( 'STOP', & 883 893 & 'agrif_nemo_init: Agrif children must have less or equal number of vertical levels without ln_vert_remap defined' ) 884 IF( Ni0glo /= nbcellsx + nbghostcells_x + nbghostcells_x) CALL ctl_stop( 'STOP', &885 & 'agrif_nemo_init: Agrif children requires jpiglo == nbcellsx + 2*nbghostcells_x' )894 IF( Ni0glo /= nbcellsx + nbghostcells_x_w + nbghostcells_x_e ) CALL ctl_stop( 'STOP', & 895 & 'agrif_nemo_init: Agrif children requires jpiglo == nbcellsx + nbghostcells_x_w + nbghostcells_x_e' ) 886 896 IF( Nj0glo /= nbcellsy + nbghostcells_y_s + nbghostcells_y_n ) CALL ctl_stop( 'STOP', & 887 897 & 'agrif_nemo_init: Agrif children requires jpjglo == nbcellsy + nbghostcells_y_s + nbghostcells_y_n' ) … … 889 899 ELSE 890 900 ! Root grid 891 nbghostcells_x = 1 901 nbghostcells_x_w = 1 902 nbghostcells_x_e = 1 892 903 nbghostcells_y_s = 1 893 904 nbghostcells_y_n = 1 894 905 IF ( l_Iperio.OR.l_NFold ) THEN 895 nbghostcells_x = 0 906 nbghostcells_x_w = 0 907 nbghostcells_x_e = 0 896 908 ENDIF 897 909 IF ( l_NFold ) THEN … … 1033 1045 1034 1046 IF( pty == 2) THEN ! T, U points 1035 bounds_chunks(2,2,1,2) = jpjglo-2 -(bounds(2,2,2) -jpjglo)1036 bounds_chunks(2,2,2,2) = jpjglo-2 -(jpjglo-2 -jpjglo)1047 bounds_chunks(2,2,1,2) = jpjglo-2*nn_hls-(bounds(2,2,2) -jpjglo) 1048 bounds_chunks(2,2,2,2) = jpjglo-2*nn_hls-(jpjglo-2 -jpjglo) 1037 1049 ELSE ! V, F points 1038 bounds_chunks(2,2,1,2) = jpjglo- 3-(bounds(2,2,2) -jpjglo)1039 bounds_chunks(2,2,2,2) = jpjglo- 3-(jpjglo-2 -jpjglo)1050 bounds_chunks(2,2,1,2) = jpjglo-2*nn_hls-1-(bounds(2,2,2) -jpjglo) 1051 bounds_chunks(2,2,2,2) = jpjglo-2*nn_hls-1-(jpjglo-2 -jpjglo) 1040 1052 ENDIF 1041 1053 ! Correction required or not … … 1058 1070 bounds_chunks(1,1,2,2) = jpiglo-bounds(1,1,2)+2 1059 1071 1060 bounds_chunks(1,2,1,2) = jpjglo-2 -(bounds(2,2,2)-jpjglo)1061 bounds_chunks(1,2,2,2) = jpjglo-2 -(bounds(2,1,2)-jpjglo)1072 bounds_chunks(1,2,1,2) = jpjglo-2*nn_hls-(bounds(2,2,2)-jpjglo) 1073 bounds_chunks(1,2,2,2) = jpjglo-2*nn_hls-(bounds(2,1,2)-jpjglo) 1062 1074 1063 1075 IF( ptx == 2) THEN ! T, V points … … 1070 1082 1071 1083 IF (pty == 2) THEN ! T, U points 1072 bounds_chunks(1,2,1,2) = jpjglo-2 -(bounds(2,2,2) -jpjglo)1073 bounds_chunks(1,2,2,2) = jpjglo-2 -(bounds(2,1,2) -jpjglo)1084 bounds_chunks(1,2,1,2) = jpjglo-2*nn_hls-(bounds(2,2,2) -jpjglo) 1085 bounds_chunks(1,2,2,2) = jpjglo-2*nn_hls-(bounds(2,1,2) -jpjglo) 1074 1086 ELSE ! V, F points 1075 bounds_chunks(1,2,1,2) = jpjglo- 3-(bounds(2,2,2) -jpjglo)1076 bounds_chunks(1,2,2,2) = jpjglo- 3-(bounds(2,1,2) -jpjglo)1087 bounds_chunks(1,2,1,2) = jpjglo-2*nn_hls-1-(bounds(2,2,2) -jpjglo) 1088 bounds_chunks(1,2,2,2) = jpjglo-2*nn_hls-1-(bounds(2,1,2) -jpjglo) 1077 1089 ENDIF 1078 1090 … … 1090 1102 END DO 1091 1103 1092 bounds_chunks(1,1,1,2) = bounds(1,1,2)+jpiglo-2 1093 bounds_chunks(1,1,2,2) = 1+jpiglo-21104 bounds_chunks(1,1,1,2) = bounds(1,1,2)+jpiglo-2*nn_hls 1105 bounds_chunks(1,1,2,2) = jpiglo-nn_hls 1094 1106 1095 1107 bounds_chunks(1,1,1,1) = bounds(1,1,2) 1096 bounds_chunks(1,1,2,1) = 11108 bounds_chunks(1,1,2,1) = nn_hls+1 1097 1109 1098 bounds_chunks(2,1,1,2) = 21110 bounds_chunks(2,1,1,2) = nn_hls+1 1099 1111 bounds_chunks(2,1,2,2) = bounds(1,2,2) 1100 1112 1101 bounds_chunks(2,1,1,1) = 21113 bounds_chunks(2,1,1,1) = nn_hls+1 1102 1114 bounds_chunks(2,1,2,1) = bounds(1,2,2) 1103 1115 1104 1116 ELSE 1105 1117 nb_chunks = 1 … … 1110 1122 bounds_chunks(i,:,:,:) = bounds 1111 1123 END DO 1112 bounds_chunks(1,1,1,2) = bounds(1,1,2)+jpiglo-2 1113 bounds_chunks(1,1,2,2) = bounds(1,2,2)+jpiglo-2 1124 bounds_chunks(1,1,1,2) = bounds(1,1,2)+jpiglo-2*nn_hls 1125 bounds_chunks(1,1,2,2) = bounds(1,2,2)+jpiglo-2*nn_hls 1114 1126 1115 1127 bounds_chunks(1,1,1,1) = bounds(1,1,2) 1116 bounds_chunks(1,1,2,1) = bounds(1,2,2)1128 bounds_chunks(1,1,2,1) = bounds(1,2,2) 1117 1129 ENDIF 1118 1130 ELSE … … 1149 1161 IF( isens == 1 ) THEN 1150 1162 IF( ptx == 2 ) THEN ! T, V points 1151 agrif_external_switch_index = jpiglo-i1+2 1163 agrif_external_switch_index = jpiglo-i1+2*nn_hls 1152 1164 ELSE ! U, F points 1153 agrif_external_switch_index = jpiglo-i1+ 11165 agrif_external_switch_index = jpiglo-i1+2*nn_hls-1 1154 1166 ENDIF 1155 1167 ELSE IF( isens ==2 ) THEN 1156 1168 IF ( pty == 2 ) THEN ! T, U points 1157 agrif_external_switch_index = jpjglo-2 -(i1 -jpjglo)1169 agrif_external_switch_index = jpjglo-2*nn_hls-(i1 -jpjglo) 1158 1170 ELSE ! V, F points 1159 agrif_external_switch_index = jpjglo- 3-(i1 -jpjglo)1171 agrif_external_switch_index = jpjglo-2*nn_hls-1-(i1 -jpjglo) 1160 1172 ENDIF 1161 1173 ENDIF -
NEMO/trunk/src/OCE/par_oce.F90
r15033 r15119 48 48 INTEGER, PUBLIC :: nbug_in_agrif_conv_do_not_remove_or_modify = 1 - 1 49 49 INTEGER, PUBLIC, PARAMETER :: nbghostcells = 4 !: number of ghost cells: default value 50 INTEGER, PUBLIC :: nbghostcells_x !: number of ghost cells in i-direction 50 INTEGER, PUBLIC :: nbghostcells_x_w !: number of ghost cells in i-direction at west 51 INTEGER, PUBLIC :: nbghostcells_x_e !: number of ghost cells in i-direction at east 51 52 INTEGER, PUBLIC :: nbghostcells_y_s !: number of ghost cells in j-direction at south 52 53 INTEGER, PUBLIC :: nbghostcells_y_n !: number of ghost cells in j-direction at north -
NEMO/trunk/tests/CANAL/MY_SRC/usrdef_nam.F90
r14433 r15119 111 111 kpj = NINT( rn_domszy / rn_dy ) + 1 112 112 ELSE ! Global Domain size: add nbghostcells + 1 "land" point on each side 113 kpi = nbcellsx + nbghostcells_x + nbghostcells_x+ 2113 kpi = nbcellsx + nbghostcells_x_w + nbghostcells_x_e + 2 114 114 kpj = nbcellsy + nbghostcells_y_s + nbghostcells_y_n + 2 115 115 ENDIF -
NEMO/trunk/tests/DOME/MY_SRC/usrdef_hgr.F90
r14976 r15119 85 85 ! deduce offset from parent: 86 86 roffsetx = Agrif_Parent(roffsetx) & 87 & + (-(nbghostcells_x - 1) + (Agrif_Parent(nbghostcells_x) &87 & + (-(nbghostcells_x_w - 1) + (Agrif_Parent(nbghostcells_x_w) & 88 88 & + Agrif_Ix()-2)*Agrif_Rhox()) * 1.e-3 * rn_dx 89 89 roffsety = Agrif_Parent(roffsety) & -
NEMO/trunk/tests/DOME/MY_SRC/usrdef_nam.F90
r14976 r15119 104 104 kpj = nbcellsy + ighost_s + ighost_n 105 105 !! JC: number of ghosts are unknown at this stage ! 106 !!$ kpi = nbcellsx + nbghostcells_x + nbghostcells_x106 !!$ kpi = nbcellsx + nbghostcells_x_w + nbghostcells_x_e 107 107 !!$ kpj = nbcellsy + nbghostcells_y_s + nbghostcells_y_n 108 108 ENDIF -
NEMO/trunk/tests/ICE_ADV2D/MY_SRC/usrdef_nam.F90
r14433 r15119 88 88 kpj = NINT( 300.e3 / rn_dy ) - 1 89 89 ELSE ! Global Domain size: add nbghostcells + 1 "land" point on each side 90 kpi = nbcellsx + nbghostcells_x + nbghostcells_x+ 290 kpi = nbcellsx + nbghostcells_x_w + nbghostcells_x_e + 2 91 91 kpj = nbcellsy + nbghostcells_y_s + nbghostcells_y_n + 2 92 92 ENDIF -
NEMO/trunk/tests/ICE_AGRIF/MY_SRC/usrdef_hgr.F90
r14976 r15119 89 89 ! deduce offset from parent: 90 90 roffsetx = Agrif_Parent(roffsetx) & 91 & + (-(nbghostcells_x - 1) + (Agrif_Parent(nbghostcells_x) &91 & + (-(nbghostcells_x_w - 1) + (Agrif_Parent(nbghostcells_x_w) & 92 92 & + Agrif_Ix()-2)*Agrif_Rhox()) * 1.e-3 * rn_dx 93 93 roffsety = Agrif_Parent(roffsety) & -
NEMO/trunk/tests/ICE_AGRIF/MY_SRC/usrdef_nam.F90
r14976 r15119 91 91 kpj = nbcellsy + 2 * nbghostcells 92 92 !! JC: number of ghosts unknown at this tage 93 !!$ kpi = nbcellsx + nbghostcells_x + nbghostcells_x+ 293 !!$ kpi = nbcellsx + nbghostcells_x_w + nbghostcells_x_e + 2 94 94 !!$ kpj = nbcellsy + nbghostcells_y_s + nbghostcells_y_n + 2 95 95 ENDIF -
NEMO/trunk/tests/TSUNAMI/MY_SRC/usrdef_nam.F90
r14433 r15119 94 94 kpj = NINT( rn_domszy / rn_dy ) + 1 95 95 ELSE ! Global Domain size: add nbghostcells + 1 "land" point on each side 96 kpi = nbcellsx + nbghostcells_x + nbghostcells_x+ 296 kpi = nbcellsx + nbghostcells_x_w + nbghostcells_x_e + 2 97 97 kpj = nbcellsy + nbghostcells_y_s + nbghostcells_y_n + 2 98 98 ENDIF -
NEMO/trunk/tests/VORTEX/MY_SRC/usrdef_hgr.F90
r14976 r15119 88 88 ! deduce offset from parent: 89 89 roffsetx = Agrif_Parent(roffsetx) & 90 & + (-(nbghostcells_x - 1) + (Agrif_Parent(nbghostcells_x) + Agrif_Ix()-2)*Agrif_Rhox()) * 1.e-3 * rn_dx90 & + (-(nbghostcells_x_w - 1) + (Agrif_Parent(nbghostcells_x_w) + Agrif_Ix()-2)*Agrif_Rhox()) * 1.e-3 * rn_dx 91 91 roffsety = Agrif_Parent(roffsety) & 92 92 & + (-(nbghostcells_y_s - 1) + (Agrif_Parent(nbghostcells_y_s) + Agrif_Iy()-2)*Agrif_Rhoy()) * 1.e-3 * rn_dy
Note: See TracChangeset
for help on using the changeset viewer.