Ignore:
Timestamp:
10/13/17 21:21:27 (7 years ago)
Author:
dubos
Message:

devel : accumulate tracer fluxes over time for diagnostics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/devel/src/transport/advect.F90

    r582 r583  
    425425  ! Horizontal transport (S. Dubey, T. Dubos) 
    426426  ! Slope-limited van Leer approach with hexagons 
    427   SUBROUTINE compute_advect_horiz(update_mass,hfluxt,cc,gradq3d, mass,qi)  
     427  SUBROUTINE compute_advect_horiz(update_mass,diagflux_on, hfluxt,cc,gradq3d, mass,qi,qfluxt) 
    428428    USE trace 
    429429    USE omp_para 
    430430    IMPLICIT NONE 
    431     LOGICAL, INTENT(IN)       :: update_mass 
     431    LOGICAL, INTENT(IN)       :: update_mass, diagflux_on 
    432432    REAL(rstd), INTENT(IN)    :: gradq3d(iim*jjm,llm,3)  
    433433    REAL(rstd), INTENT(IN)    :: hfluxt(3*iim*jjm,llm) ! mass flux 
     
    435435    REAL(rstd), INTENT(INOUT) :: mass(iim*jjm,llm) 
    436436    REAL(rstd), INTENT(INOUT) :: qi(iim*jjm,llm) 
     437    REAL(rstd), INTENT(INOUT) :: qfluxt(3*iim*jjm,llm) ! time-integrated tracer flux 
    437438 
    438439    REAL(rstd) :: dq,dmass,qe,ed(3), newmass 
Note: See TracChangeset for help on using the changeset viewer.