- Timestamp:
- 01/17/18 17:58:22 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SOURCES/furst_schoof_mod.f90
r110 r175 102 102 xpos_tab(i,j)=xpos 103 103 Hglx_tab(i,j)=Hgl 104 104 105 105 if (gr_select.eq.1) then ! flux de Tsai 106 106 call flux_Tsai4Schoof (Hgl,Abar(i,j),frot_coef,alpha_flot,glen(1),back_force_x(i-1,j),phi_prescr) … … 190 190 xpos_tab(i,j)=xpos 191 191 Hglx_tab(i,j)=Hgl 192 192 193 if (gr_select.eq.1) then ! flux de Tsai 193 194 call flux_Tsai4Schoof (Hgl,Abar(i,j),frot_coef,alpha_flot,glen(1),back_force_x(i+1,j),phi_prescr) 194 195 else if (gr_select.eq.2) then ! flux de Schoof 195 196 ! afq: the dragging coef. is on the staggered grid, the GL can be either West or East to this point. 196 if (xpos .lt. -dx/2.) then197 if (xpos .lt. dx/2.) then 197 198 frot_coef = betamx(i,j) 198 199 else … … 205 206 endif 206 207 phi_prescr_tabx(i,j)=phi_prescr 207 if (xpos .lt. -dx/2.) then ! GL a west du i staggered, o centre, x stag208 if (xpos .lt. dx/2.) then ! GL a west du i staggered, o centre, x stag 208 209 209 210 ! grille ! .....x......o......x......o......x......O..G...x......o......x......o … … 274 275 ypos_tab(i,j)=ypos 275 276 Hgly_tab(i,j)=Hgl 277 276 278 if (gr_select.eq.1) then ! flux de Tsai 277 279 call flux_Tsai4Schoof (Hgl,Abar(i,j),frot_coef,alpha_flot,glen(1),back_force_y(i,j-1),phi_prescr) … … 355 357 ypos_tab(i,j)=ypos 356 358 Hgly_tab(i,j)=Hgl 359 357 360 if (gr_select.eq.1) then ! flux de Tsai 358 361 call flux_Tsai4Schoof (Hgl,Abar(i,j),frot_coef,alpha_flot,glen(1),back_force_y(i,j+1),phi_prescr) 359 362 else if (gr_select.eq.2) then ! flux de Schoof 360 363 ! afq: the dragging coef. is on the staggered grid, the GL can be either South or North to this point. 361 if (ypos .lt. -dy/2.) then364 if (ypos .lt. dy/2.) then 362 365 frot_coef = betamy(i,j) 363 366 else … … 370 373 endif 371 374 phi_prescr_taby(i,j)=phi_prescr 372 if (ypos .lt. -dy/2.) then ! GL au sud du j staggered, o centre, x stag375 if (ypos .lt. dy/2.) then ! GL au sud du j staggered, o centre, x stag 373 376 374 377 ! grille ! .....x......o......x......o......x......O..G...x......o......x......o
Note: See TracChangeset
for help on using the changeset viewer.