New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 7060 for branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/NST_SRC/agrif_user.F90 – NEMO

Ignore:
Timestamp:
2016-10-20T16:16:29+02:00 (8 years ago)
Author:
clem
Message:

update agrif+lim3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_v3_6_STABLE_r6506_AGRIF_LIM3/NEMOGCM/NEMO/NST_SRC/agrif_user.F90

    r6584 r7060  
    306306   ! Note that update below is recursive (with lk_agrif_doupd=T): 
    307307   !  
     308!!#if ! defined key_sas2D 
    308309! JC: I am not sure if Agrif_MaxLevel() is the "relative" 
    309310!     or the absolute maximum nesting level...TBC                         
     
    313314      CALL Agrif_Update_dyn() 
    314315   ENDIF 
     316!!#endif    
    315317   ! 
    316318# if defined key_zdftke 
     
    321323   nbcline = 0 
    322324   lk_agrif_doupd = .FALSE. 
     325 
    323326   ! 
    324327END SUBROUTINE Agrif_InitValues_cont 
     
    454457!   CALL Agrif_Set_Updatetype(vb2b_update_id,update1 = Agrif_Update_Full_Weighting, update2 = Agrif_Update_Average) 
    455458!   CALL Agrif_Set_Updatetype(sshn_id, update = Agrif_Update_Full_Weighting) 
    456   
     459 
    457460   ! 
    458461END SUBROUTINE agrif_declare_var 
     
    609612   !! ** Purpose :: Declaration of variables to be interpolated for LIM3 
    610613   !!---------------------------------------------------------------------- 
    611    USE agrif_util 
     614   USE Agrif_Util 
     615   USE Agrif_ice  !clem useless ? 
    612616   USE ice 
    613617 
     
    618622   !       agrif_declare_variable(position,1st point index,--,--,dimensions,name) 
    619623   !------------------------------------------------------------------------------------- 
    620    CALL agrif_declare_variable((/2,2,0,0/),(/3,3,0,0/),(/'x','y','N','N'/),(/1,1,1,1/), & 
    621       &                        (/jpi,jpj,jpl,jpl*(5+nlay_s+nlay_i)/), tra_ice_id ) 
    622    CALL agrif_declare_variable((/1,2/)    ,(/2,3/)    ,(/'x','y'/)        ,(/1,1/)    ,(/jpi,jpj/)      ,u_ice_id  ) 
    623    CALL agrif_declare_variable((/2,1/)    ,(/3,2/)    ,(/'x','y'/)        ,(/1,1/)    ,(/jpi,jpj/)      ,v_ice_id  ) 
     624   CALL agrif_declare_variable((/2,2,0/),(/3,3,0/),(/'x','y','N'/),(/1,1,1/),(/nlci,nlcj,jpl*(5+nlay_s+nlay_i)/),tra_ice_id ) 
     625   CALL agrif_declare_variable((/1,2/)    ,(/2,3/),(/'x','y'/)    ,(/1,1/)  ,(/nlci,nlcj/)                      ,u_ice_id   ) 
     626   CALL agrif_declare_variable((/2,1/)    ,(/3,2/),(/'x','y'/)    ,(/1,1/)  ,(/nlci,nlcj/)                      ,v_ice_id   ) 
    624627 
    625628   ! 2. Set interpolations (normal & tangent to the grid cell for velocities) 
Note: See TracChangeset for help on using the changeset viewer.