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 11741 for NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/src/NST/agrif_oce.F90 – NEMO

Ignore:
Timestamp:
2019-10-21T12:26:39+02:00 (5 years ago)
Author:
jchanut
Message:

#2222: correct definition of parent vertical grid on the child domain to perform vertical interpolation at boundaries. Use additionnal parent depths and number of levels arrays interpolated on the child grid domain to do so.
Correction of vertical interpolation of viscosity remains to be done as well as duplication of changes for passive tracers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/src/NST/agrif_oce.F90

    r11590 r11741  
    4646   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) ::  ubdy, vbdy, hbdy 
    4747 
     48# if defined key_vertical 
     49   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ht0_parent, hu0_parent, hv0_parent 
     50   INTEGER,  PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: mbkt_parent, mbku_parent, mbkv_parent 
     51# endif 
    4852 
    4953   INTEGER, PUBLIC :: tsn_id                                                  ! AGRIF profile for tracers interpolation and update 
     
    6064   INTEGER, PUBLIC :: avt_id, avm_id, en_id                ! TKE related identificators 
    6165   INTEGER, PUBLIC :: umsk_id, vmsk_id 
     66   INTEGER, PUBLIC :: mbkt_id, ht0_id 
    6267   INTEGER, PUBLIC :: kindic_agr 
    6368    
     
    8388# if defined key_top          
    8489         &      tabspongedone_trn(jpi,jpj),           & 
    85 # endif          
     90# endif    
     91# if defined key_vertical 
     92         &      ht0_parent(jpi,jpj), mbkt_parent(jpi,jpj),  & 
     93         &      hu0_parent(jpi,jpj), mbku_parent(jpi,jpj),  & 
     94         &      hv0_parent(jpi,jpj), mbkv_parent(jpi,jpj),  & 
     95# endif       
    8696         &      tabspongedone_u  (jpi,jpj),           & 
    8797         &      tabspongedone_v  (jpi,jpj), STAT = ierr(1) ) 
Note: See TracChangeset for help on using the changeset viewer.