Changeset 11625 for NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/src/NST/agrif_oce_interp.F90
- Timestamp:
- 2019-10-01T15:18:44+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11233_AGRIF-05_jchanut_vert_coord_interp/src/NST/agrif_oce_interp.F90
r11603 r11625 662 662 INTEGER :: N_in, N_out 663 663 ! vertical interpolation: 664 REAL(wp), DIMENSION(i1:i2,j1:j2,1:jpk, n1:n2) :: ptab_child665 REAL(wp), DIMENSION(k1:k2, n1:n2-1) :: tabin664 REAL(wp), DIMENSION(i1:i2,j1:j2,1:jpk,1:jpts) :: ptab_child 665 REAL(wp), DIMENSION(k1:k2,1:jpts) :: tabin 666 666 REAL(wp), DIMENSION(k1:k2) :: h_in 667 667 REAL(wp), DIMENSION(1:jpk) :: h_out … … 693 693 DO jj=j1,j2 694 694 DO ji=i1,i2 695 ptab_child(ji,jj,:,:) = 0._wp 695 696 N_in = 0 696 697 DO jk=k1,k2 !k2 = jpk of parent grid … … 706 707 h_out(jk) = e3t_a(ji,jj,jk) 707 708 ENDDO 708 IF (N_in > 0) THEN709 IF (N_in*N_out > 0) THEN 709 710 CALL reconstructandremap(tabin(1:N_in,1:jpts),h_in(1:N_in),ptab_child(ji,jj,1:N_out,1:jpts),h_out(1:N_out),N_in,N_out,jpts) 710 711 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.