Ignore:
Timestamp:
Jul 24, 2013, 1:49:19 PM (11 years ago)
Author:
idelkadi
Message:
  1. transform phytrac into a module, in order to pass some variables

(tracer tendencies) to the standard physiq ouput codes.

  1. Correct a (big) bug in the call to phytrac.
  2. Include w*, and ALEs in the call to phytrac and traclmdz.

physiq.F

  • Bug correction in the call of phytrac from the physics u10m,v10m, ustar -> zu10m, zv10m, zustar

phytrac.F90 -> phytrac_mod.F90

  • Tranformation of routine phytrac into a module phytrac_mod, in order to tranfer the tracer tendencies from phytrac to

phys_output...

  • Inclusion of w*, Ale bl/wake in the call to phytrac and traclmdz

(to be used for dust emmission)

by respectively, vertical diffusion, thermal plumes and convection

  • desactivation of ini_histrac.h and write_histrac.h
  • USE phys_output_mod removed since it was creating a circular

dependency

between phytrac_mod and phys_output_mod.
So the automatic computation of ecrit_tra is desactivated

ini_histrac.h and write_histrac.h

Descactivated in phytrac but kept for backard compatibility
couchelimite -> iflag_vdf_trac>0

phys_output_ctrlout_mod.F90

New variables : o_dtr_vdf, o_dtr_the ... for output of tracer tendencies

phys_output_mod.F90

Default definition for these new output variables.

phys_output_write_F90.h

disapears, included directly in phys_output_write_mod.F90

phys_output_write_mod.F90

writing of the tracer tendencies

phys_state_var_mod.F90

New declaration (wstar)

traclmdz_mod.F90

  • Inclusion of w*, Ale bl/wake in the call to phytrac and traclmdz

(to be used for dust emmission)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/phys_output_ctrlout_mod.F90

    r1792 r1813  
    10491049  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_trac(:)
    10501050  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_trac_cum(:)
     1051  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_vdf(:)
     1052  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_the(:)
     1053  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_con(:)
     1054  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_lessi_impa(:)
     1055  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_lessi_nucl(:)
     1056  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_insc(:)
     1057  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_bcscav(:)
     1058  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_evapls(:)
     1059  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_ls(:)
     1060  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_trsp(:)
     1061  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_sscav(:)
     1062  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_sat(:)
     1063  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_uscav(:)
     1064  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dtr_dry(:)
     1065
    10511066  TYPE(ctrl_out), SAVE :: o_rsu = ctrl_out((/ 4, 10, 10, 10, 10, 10 /), &
    10521067        'rsu', 'SW upward radiation', 'W m-2', (/ ('', i=1, 6) /))
Note: See TracChangeset for help on using the changeset viewer.