| 1 | module dust_param_mod |
|---|
| 2 | ! This module contains flags and saved variables for the dust cycle |
|---|
| 3 | implicit none |
|---|
| 4 | LOGICAL,SAVE :: active ! is dust radiatively active? |
|---|
| 5 | LOGICAL,SAVE :: doubleq ! use 2-moment schmeme for dust? (dustbin must then be >=2) |
|---|
| 6 | LOGICAL,SAVE :: submicron ! include a secondary dust distribution (submicron particules) |
|---|
| 7 | LOGICAL,SAVE :: lifting ! flag to activate injection of dust from the surface |
|---|
| 8 | LOGICAL,SAVE :: freedust ! if true: no rescaling (via tauscaling) of the dust mass and number |
|---|
| 9 | LOGICAL,SAVE :: callddevil ! flag to activate dust devil (dust lifing/injection) parametrization |
|---|
| 10 | |
|---|
| 11 | INTEGER,SAVE :: dustbin ! number of bins of dust tracers |
|---|
| 12 | |
|---|
| 13 | REAL,PARAMETER :: odpref = 610. ! Reference pressure (Pa) of |
|---|
| 14 | ! DOD (Dust optical Depth) tau_pref_* |
|---|
| 15 | |
|---|
| 16 | REAL,SAVE,ALLOCATABLE :: tauscaling(:) ! Convertion factor for qdust and Ndust |
|---|
| 17 | INTEGER,SAVE :: dustscaling_mode ! dust scaling modes |
|---|
| 18 | ! =0, no rescaling (freedust) |
|---|
| 19 | ! =1, prescribed scaling GCM5.3 style (using tauscaling) |
|---|
| 20 | ! =2, only radiative scaling (using dust_rad_adjust) |
|---|
| 21 | REAL,SAVE,ALLOCATABLE :: dust_rad_adjust(:) ! radiative scaling for dust |
|---|
| 22 | REAL,PARAMETER :: t_scenario_sol=14/24. ! time of day (sol) at which |
|---|
| 23 | ! tau_pref_scenario is deemed exact |
|---|
| 24 | |
|---|
| 25 | contains |
|---|
| 26 | |
|---|
| 27 | subroutine ini_dust_param_mod(ngrid) |
|---|
| 28 | implicit none |
|---|
| 29 | integer,intent(in) :: ngrid ! number of atmospheric columns |
|---|
| 30 | |
|---|
| 31 | allocate(tauscaling(ngrid)) |
|---|
| 32 | allocate(dust_rad_adjust(ngrid)) |
|---|
| 33 | |
|---|
| 34 | end subroutine ini_dust_param_mod |
|---|
| 35 | |
|---|
| 36 | subroutine end_dust_param_mod |
|---|
| 37 | implicit none |
|---|
| 38 | |
|---|
| 39 | if (allocated(tauscaling)) deallocate(tauscaling) |
|---|
| 40 | if (allocated(dust_rad_adjust)) deallocate(dust_rad_adjust) |
|---|
| 41 | |
|---|
| 42 | end subroutine end_dust_param_mod |
|---|
| 43 | end module dust_param_mod |
|---|