MONC
components
socrates_couple
src
socrates_monc_interface
def_mcc_profiles.F90
Go to the documentation of this file.
1
module
def_mcc_profiles
2
3
use
datadefn_mod
,
only
:
default_precision
4
5
implicit none
6
7
type
str_mcc_profiles
8
9
! all read from configuration
10
integer
:: levs
11
! number of McClatchey levels (read from file)
12
integer
:: irad_levs
! the total number of levels for radiation
13
! monc levels + mcc to the top of atmosphere
14
integer
:: n_levels
! irad_levs -1, not sure if this is needed in
15
! socrates. It is used in old LEM ES code.
16
integer
:: cut
! pressure level in the McClatchey profile that
17
! is closest to prefn(Z_SIZE) - pmindiff
18
19
! McClatchey profile arrays, which are read from file
20
! Note: assume the all the McClatchey profiles exist on the grid interface
21
real
(kind=
default_precision
),
allocatable
:: p_level(:)
22
real
(kind=
default_precision
),
allocatable
:: t_level(:)
23
real
(kind=
default_precision
),
allocatable
:: q_level(:)
24
real
(kind=
default_precision
),
allocatable
:: o3_level(:)
25
! Derive Mcc profiles for the centre of grid. These profiles are only used to
26
! work out the weightings for merge data
27
real
(kind=
default_precision
),
allocatable
:: p_n(:)
28
real
(kind=
default_precision
),
allocatable
:: t_n(:)
29
real
(kind=
default_precision
),
allocatable
:: q_n(:)
30
real
(kind=
default_precision
),
allocatable
:: o3_n(:)
31
32
end type
str_mcc_profiles
33
end module
def_mcc_profiles
def_mcc_profiles
Definition:
def_mcc_profiles.F90:1
def_mcc_profiles::str_mcc_profiles
Definition:
def_mcc_profiles.F90:7
datadefn_mod
Contains common definitions for the data and datatypes used by MONC.
Definition:
datadefn.F90:2
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