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

Ignore:
Timestamp:
2019-10-01T15:18:44+02:00 (5 years ago)
Author:
jchanut
Message:

#2222, add initialization to 0 of tracer open boundary data with vertical interpolation + various neutral optimizations

File:
1 edited

Legend:

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

    r11607 r11625  
    288288      REAL(wp) :: h_in(k1:k2) 
    289289      REAL(wp) :: h_out(1:jpk) 
    290       REAL(wp) :: tabin(k1:k2,jpts) 
     290      REAL(wp) :: tabin(k1:k2,1:jpts) 
    291291      REAL(wp), DIMENSION(i1:i2,j1:j2,1:jpk,1:jpts) :: tabres_child 
    292292      !!--------------------------------------------- 
     
    330330                  h_out(N_out) = e3t_n(ji,jj,jk)  
    331331               ENDDO 
    332                IF (N_in > 0) THEN !Remove this? 
     332               IF (N_in*N_out > 0) THEN !Remove this? 
    333333                  CALL reconstructandremap(tabin(1:N_in,1:jpts),h_in(1:N_in),tabres_child(ji,jj,1:N_out,1:jpts),h_out(1:N_out),N_in,N_out,jpts) 
    334334               ENDIF 
Note: See TracChangeset for help on using the changeset viewer.