Ignore:
Timestamp:
10/30/15 15:41:06 (9 years ago)
Author:
dubos
Message:

Progress towards NH

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/hevi_scheme.f90

    r362 r366  
    2828  SUBROUTINE set_coefs_ark33(dt) 
    2929    ! Fully-explicit RK3 scheme disguised as ARK 
    30     ! To check correctness of caldyn_hevi 
    3130    REAL(rstd) :: dt 
    32     REAL(rstd), PARAMETER, DIMENSION(3,4) :: & 
    33          ajl=(/ zero, (/.5,0.,0./), (/-1.,2.,0./), (/1./6.,2./3.,1./6./) /) 
    34     CALL set_coefs_hevi(dt, ajl, ajl) 
     31    CALL set_coefs_rk(dt, (/ zero, (/.5,0.,0./), (/-1.,2.,0./), (/1./6.,2./3.,1./6./) /) ) 
    3532  END SUBROUTINE set_coefs_ark33 
    3633     
     34  SUBROUTINE set_coefs_rk(dt, ajl) 
     35    REAL(rstd) :: dt, ajl(3,4) 
     36    CALL set_coefs_hevi(dt,ajl,ajl) 
     37  END SUBROUTINE set_coefs_rk 
     38 
    3739  SUBROUTINE set_coefs_hevi(dt, ajl_slow, ajl_fast) 
    3840    REAL(rstd) :: dt, ajl_slow(3,4), ajl_fast(3,4) ! fast/slow Butcher tableaus 
     
    5860       CALL caldyn_hevi((j==1) .AND. (MOD(it,itau_out)==0), taujj(j), & 
    5961            f_phis, f_ps,f_mass,f_theta_rhodz,f_u,f_q, & 
    60             f_geopot, f_hflux, f_wflux, & 
     62            f_W, f_geopot, f_hflux, f_wflux, & 
    6163            f_dps_slow(:,j), f_dmass_slow(:,j), f_dtheta_rhodz_slow(:,j), & 
    62             f_du_slow(:,j), f_du_fast(:,j) ) 
     64            f_du_slow(:,j), f_du_fast(:,j), & 
     65            f_dPhi_slow(:,j), f_dPhi_fast(:,j), & 
     66            f_dW_slow(:,j), f_dW_fast(:,j) ) 
    6367       ! accumulate mass fluxes for transport scheme 
    6468       DO ind=1,ndomain 
     
    7983          CALL update(bjl(l,j), f_u, f_du_slow(:,l)) 
    8084          CALL update(cjl(l,j), f_u, f_du_fast(:,l)) 
     85          IF(.NOT. hydrostatic) THEN 
     86 !            CALL update(bjl(l,j), f_W, f_dW_slow(:,l)) ! slow tendencies of w, Phi not implemented yet 
     87             CALL update(cjl(l,j), f_W, f_dW_fast(:,l)) 
     88 !            CALL update(bjl(l,j), f_geopot, f_dPhi_slow(:,l)) 
     89             CALL update(cjl(l,j), f_geopot, f_dPhi_fast(:,l)) 
     90          END IF 
    8191       END DO 
    8292    END DO 
Note: See TracChangeset for help on using the changeset viewer.