MONC
components
socrates_couple
src
socrates_monc_interface
def_socrates_options.F90
Go to the documentation of this file.
1
module
def_socrates_options
2
3
use
datadefn_mod
,
only
:
default_precision
4
5
implicit none
6
7
type
str_socrates_options
8
9
! Indices for cloud
10
integer
:: iqv=0, iql=0, inl=0, iqr=0, iqi=0, iqs=0, iqg=0
11
12
integer
:: cloud_representation
! This is read from configuration and determines
13
! whether socrates should include cloud
14
! 2 = clear sky, 5 = cloudy sky rad calc
15
! number of moments for each hydrometeor - read from configuration file
16
integer
:: mphys_nq_l
! cloud liquid
17
integer
:: mphys_nd_l
! cloud drop number
18
integer
:: mphys_nq_r
! rain
19
integer
:: mphys_nq_i
! cloud ice
20
integer
:: mphys_nq_s
! snow
21
integer
:: mphys_nq_g
! graupel
22
23
! Time and location variables for socrates - read from configuration
24
logical
:: l_solar_fixed &
! true equals fixed insolation using value in
25
! solar_fixed
26
, l_no_solar &
! true equals no shortwave radiative transfer (only longwave)
27
! false will give shortwave and longwave
28
, l_360
! 360 days in year as opposed to 365 (a UM thing
29
! in the LEM, is this still required??)
30
31
real
(kind=
default_precision
) :: &
32
default_solar_constant, &
33
solar_fixed, &
34
sec_fixed, &
35
latitude, &
36
longitude, &
37
rad_start_time, &
38
rad_time_hours, &
39
rad_year, &
40
rad_start_day, &
41
rad_day, &
42
rad_int_time
43
!
44
45
! Surface albedo variables for socrates -read from configuration
46
logical
:: l_variable_srf_albedo
47
real
(kind=
default_precision
) :: surface_albedo
48
!
49
! density of water set in config to 997.0 kgm-3
50
real
(kind=
default_precision
) :: rho_water
51
52
! Fixed effective radius settings for socrates
53
! NOTE: default in global_config is false, so effective radius from
54
! depends on microphysics output
55
logical
:: l_fix_re
56
! Use cloud drop number to work out the effective radius
57
logical
:: l_use_ndrop
58
! Switch for the liu drop spectral param in effective radius
59
logical
:: l_use_liu_spec
60
61
real
(kind=
default_precision
) :: &
62
fixed_cloud_re, fixed_ice_re, fixed_cloud_number, kparam
63
64
! gas mass mixing ratios
65
real
(kind=
default_precision
) :: &
66
co2_mmr, &
67
n2o_mmr, &
68
ch4_mmr, &
69
o2_mmr, &
70
cfc11_mmr, &
71
cfc12_mmr, &
72
cfc113_mmr, &
73
cfc114_mmr, &
74
hcfc22_mmr, &
75
hfc125_mmr, &
76
hfc134a_mmr
77
! logical to decide if it is a radiation timestep. This is true
78
! if (time > ((rad_last_time + rad_int_time)) > 0.0)). Derived
79
! in the timestep_callback in socrates_couple
80
logical
:: l_rad_calc
81
82
end type
str_socrates_options
83
84
end module
def_socrates_options
85
86
def_socrates_options::str_socrates_options
Definition:
def_socrates_options.F90:7
datadefn_mod
Contains common definitions for the data and datatypes used by MONC.
Definition:
datadefn.F90:2
def_socrates_options
Definition:
def_socrates_options.F90:1
datadefn_mod::default_precision
integer, parameter, public default_precision
MPI communication type which we use for the prognostic and calculation data.
Definition:
datadefn.F90:17
Generated by
1.8.20