Ignore:
Timestamp:
09/09/15 15:26:13 (9 years ago)
Author:
dubos
Message:

ARK2.3 HEVI time stepping - tested with DCMIP4 only

File:
1 edited

Legend:

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

    r360 r361  
    4848    USE time_mod 
    4949    USE disvert_mod 
    50     USE caldyn_mod 
     50    USE caldyn_hevi_mod 
    5151    LOGICAL :: fluxt_zero(ndomain) ! set to .TRUE. to start accumulating fluxes in time 
    5252    INTEGER :: it,j,l, ind 
     
    5454 
    5555    DO j=1,nb_stage 
    56        !       CALL caldyn_hevi((j==1) .AND. (MOD(it,itau_out)==0), & 
    57        !            taujj(j), f_phis, f_geopot, & 
    58        !            f_ps,f_mass,f_theta_rhodz,f_u, & 
    59        !            f_hflux, f_wflux, & 
    60        !            f_dps_slow(:,j), f_dmass_slow(:,j), f_dtheta_rhodz_slow(:,j), & 
    61        !            f_du_slow(:,j), f_du_fast(:,j) ) 
    62  
    63        CALL caldyn((j==1) .AND. (MOD(it,itau_out)==0), & 
     56       CALL caldyn_hevi((j==1) .AND. (MOD(it,itau_out)==0), taujj(j), & 
    6457            f_phis, f_ps,f_mass,f_theta_rhodz,f_u,f_q, & 
    6558            f_geopot, f_hflux, f_wflux, & 
    6659            f_dps_slow(:,j), f_dmass_slow(:,j), f_dtheta_rhodz_slow(:,j), & 
    67             f_du_slow(:,j)) 
    68  
    69        ! cumulate mass fluxes for transport scheme 
     60            f_du_slow(:,j), f_du_fast(:,j) ) 
     61       ! accumulate mass fluxes for transport scheme 
    7062       DO ind=1,ndomain 
    7163          IF (.NOT. assigned_domain(ind)) CYCLE 
     
    7567          CALL accumulate_fluxes(hflux,wflux, hfluxt,wfluxt, wj(j), fluxt_zero(ind)) 
    7668       END DO 
    77  
    7869       ! update model state 
    7970       DO l=1,j 
     
    8576          CALL update(bjl(l,j), f_theta_rhodz, f_dtheta_rhodz_slow(:,l)) 
    8677          CALL update(bjl(l,j), f_u, f_du_slow(:,l)) 
    87 !          CALL update(cjl(l,j), f_u, f_du_fast(:,l)) ! FIXME - only slow terms right now 
     78          CALL update(cjl(l,j), f_u, f_du_fast(:,l)) 
    8879       END DO 
    8980    END DO 
Note: See TracChangeset for help on using the changeset viewer.