Changeset 109


Ignore:
Timestamp:
05/19/17 17:44:41 (7 years ago)
Author:
dumas
Message:

Add gr_line_schoof variable to identify schoof points

Location:
trunk/SOURCES
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/3D-physique-gen_mod.f90

    r102 r109  
    229229  integer,dimension(nx,ny) :: FRONTFACEX!< type de front sur les faces x 
    230230  integer,dimension(nx,ny) :: FRONTFACEY!< type de front sur les faces y 
     231  integer,dimension(nx,ny) :: gr_line_schoof ! points ou on impose le flux de schoof (pour sorties) 
    231232  integer,dimension(nx,ny) :: ICE       !< presence de glace au point considere, 
    232233  !< seuil 0 si pose, 1 si flottant 
  • trunk/SOURCES/furst_schoof_mod.f90

    r104 r109  
    8383  countx(:,:)=0. 
    8484  county(:,:)=0. 
    85  
     85  gr_line_schoof(:,:)=0 
     86   
    8687  archimtab(:,:) = Bsoc(:,:)+H(:,:)*alpha_flot -sealevel 
    8788 
     
    127128                 countx   (i-1,j)   = countx(i-1,j)+1 
    128129                 imx_diag (i-1,j)   = 1 
    129  
     130                 gr_line_schoof(i-1,j) = 1 
     131                                                                  
    130132                 ! extrapolation pour avoir uxbar(i,j) 
    131133 
     
    136138                 countx   (i,j)   = countx(i,j)+1 
    137139                 imx_diag (i,j)   = 1 
     140                 gr_line_schoof(i,j) = 1 
    138141                 !                 print*,'schoof uxbar(i,j)=',uxbar(i,j) 
    139142                 !                 print*,'Hgl',Hgl 
     
    156159                 countx   (i,j)   = countx(i,j)+1 
    157160                 imx_diag (i,j) = 1 
    158  
     161                 gr_line_schoof(i,j) = 1 
     162                                                                  
    159163                 ! extrapolation pour avoir uxbar(i+1,j) 
    160164 
     
    164168                 countx   (i+1,j)   = countx(i+1,j)+1 
    165169                 imx_diag (i+1,j)   = 1 
     170                 gr_line_schoof(i+1,j) = 1 
    166171              end if 
    167172                                          
     
    193198                 countx   (i,j)   = countx(i,j)+1 
    194199                 imx_diag (i,j) = 1 
    195  
     200                 gr_line_schoof(i,j) = 1 
     201                                                                  
    196202                 ! extrapolation pour avoir uxbar(i+1,j) 
    197203 
     
    201207                 countx   (i+1,j)   = countx(i+1,j)+1 
    202208                 imx_diag (i+1,j) = 1 
    203  
     209                 gr_line_schoof(i+1,j) = 1 
     210                                                                  
    204211              else   !  GL a west du i staggered,                          o centre, x stag 
    205212 
     
    216223                 countx   (i+1,j)   = countx(i+1,j)+1 
    217224                 imx_diag (i+1,j) = 1 
     225                 gr_line_schoof(i+1,j) = 1 
    218226 
    219227                 ! extrapolation pour avoir uxbar(i+1,j) 
     
    224232                 countx   (i+2,j)   = countx(i+2,j)+1 
    225233                 imx_diag (i+2,j) = 1 
     234                 gr_line_schoof(i+2,j) = 1 
    226235              end if 
    227236 
     
    259268                 county   (i,j-1)   = county(i,j-1)+1 
    260269                 imy_diag (i,j-1) = 1 
     270                 gr_line_schoof(i,j-1) = 1 
    261271 
    262272                 ! extrapolation pour avoir uybar(i,j) 
     
    267277                 county   (i,j)   = county(i,j)+1 
    268278                 imy_diag (i,j) = 1 
     279                 gr_line_schoof(i,j) = 1 
    269280 
    270281              else            !  GL au nord du j staggered,                          o centre, x stag 
     
    282293                 county   (i,j)   = county(i,j)+1 
    283294                 imy_diag(i,j) = 1 
     295                 gr_line_schoof(i,j) = 1 
    284296 
    285297                 ! extrapolation pour avoir uybar(i,j+1) 
     
    290302                 county   (i,j+1)   = county(i,j+1)+1 
    291303                 imy_diag (i,j+1) = 1 
     304                 gr_line_schoof(i,j+1) = 1 
    292305              end if 
    293306               
     
    319332                 county   (i,j)   = county(i,j)+1 
    320333                 imy_diag (i,j) = 1 
     334                 gr_line_schoof(i,j) = 1 
    321335 
    322336                 ! extrapolation pour avoir uybar(i,j+1) 
     
    327341                 county   (i,j+1)   = county(i,j+1)+1 
    328342                 imy_diag (i,j+1) = 1 
     343                 gr_line_schoof(i,j+1) = 1 
    329344 
    330345              else   !  GL au nord du j staggered,                          o centre, x stag 
     
    342357                 county   (i,j+1)   = county(i,j+1)+1 
    343358                 imy_diag (i,j+1) = 1 
    344  
     359                 gr_line_schoof(i,j+1) = 1 
     360                                                                  
    345361                 ! extrapolation pour avoir uybar(i,j+1) 
    346362 
     
    350366                 county   (i,j+2)   = county(i,j+2)+1 
    351367                 imy_diag (i,j+2) = 1 
     368                 gr_line_schoof(i,j+2) = 1 
     369                  
    352370              end if 
    353371 
Note: See TracChangeset for help on using the changeset viewer.