Ignore:
Timestamp:
10/18/17 18:46:11 (7 years ago)
Author:
dubos
Message:

devel : diagnose energy fluxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/src/time/timeloop_gcm.f90

    r592 r594  
    273273          CALL HEVI_scheme(it, fluxt_zero) 
    274274       END SELECT 
    275         
     275 
    276276       IF (MOD(it,itau_dissip)==0) THEN 
    277277           
     
    304304        
    305305       IF(MOD(it,itau_adv)==0) THEN 
     306          IF(diagflux_on) CALL diagflux_energy(adv_over_out, f_phis,f_rhodz,f_theta_rhodz,f_u, f_geopot,f_theta, f_hfluxt) 
    306307          CALL advect_tracer(f_hfluxt,f_wfluxt,f_u, f_q,f_rhodz, & ! update q and rhodz after RK step 
    307308               adv_over_out, f_masst,f_qmasst,f_massfluxt, f_qfluxt)  ! accumulate mass and fluxes if diagflux_on 
    308           fluxt_zero=.TRUE. 
    309           ! FIXME : check that rhodz is consistent with ps 
    310           IF (check_rhodz) THEN 
     309          fluxt_zero=.TRUE. ! restart accumulation of hfluxt and qfluxt at next call to explicit_scheme / HEVI_scheme 
     310          IF (check_rhodz) THEN ! check that rhodz is consistent with ps 
    311311             DO ind=1,ndomain 
    312312                IF (.NOT. assigned_domain(ind)) CYCLE 
Note: See TracChangeset for help on using the changeset viewer.