CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches
bl_mynn_common.f90
1
8
12
13!------------------------------------------
14!
15!------------------------------------------
16
17! The following 5-6 lines are the only lines in this file that are not
18! universal for all dycores... Any ideas how to universalize it?
19! For MPAS:
20! use mpas_kind_types,only: kind_phys => RKIND
21! For CCPP:
22 use machine, only : kind_phys
23
24 implicit none
25 save
26
27! To be specified from dycore
28 real(kind=kind_phys):: cp
29 real(kind=kind_phys):: cpv
30 real(kind=kind_phys):: cice
31 real(kind=kind_phys):: cliq
32 real(kind=kind_phys):: p608
33 real(kind=kind_phys):: ep_2
34 real(kind=kind_phys):: grav
35 real(kind=kind_phys):: karman
36 real(kind=kind_phys):: t0c
37 real(kind=kind_phys):: rcp
38 real(kind=kind_phys):: r_d
39 real(kind=kind_phys):: r_v
40 real(kind=kind_phys):: xlf
41 real(kind=kind_phys):: xlv
42 real(kind=kind_phys):: xls
43 real(kind=kind_phys):: rvovrd
44
45! Specified locally
46 real(kind=kind_phys),parameter:: zero = 0.0
47 real(kind=kind_phys),parameter:: half = 0.5
48 real(kind=kind_phys),parameter:: one = 1.0
49 real(kind=kind_phys),parameter:: two = 2.0
50 real(kind=kind_phys),parameter:: onethird = 1./3.
51 real(kind=kind_phys),parameter:: twothirds = 2./3.
52 real(kind=kind_phys),parameter:: tref = 300.0
53 real(kind=kind_phys),parameter:: tkmin = 253.0
54 real(kind=kind_phys),parameter:: p1000mb=100000.0
55 real(kind=kind_phys),parameter:: svp1 = 0.6112
56 real(kind=kind_phys),parameter:: svp2 = 17.67
57 real(kind=kind_phys),parameter:: svp3 = 29.65
58 real(kind=kind_phys),parameter:: tice = 240.0
59
60! To be derived in the init routine
61 real(kind=kind_phys):: ep_3
62 real(kind=kind_phys):: gtr
63 real(kind=kind_phys):: rk
64 real(kind=kind_phys):: tv0
65 real(kind=kind_phys):: tv1
66 real(kind=kind_phys):: xlscp
67 real(kind=kind_phys):: xlvcp
68 real(kind=kind_phys):: g_inv
69
70 end module bl_mynn_common
This module defines model-specific constants/parameters.