forked from KineticPreProcessor/KPP-Standalone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stub_carbon_Funcs.F90
124 lines (119 loc) · 4.6 KB
/
stub_carbon_Funcs.F90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
MODULE carbon_Funcs
!
! Stub module for KPP/carbon/carbon_Funcs.F90
!
USE gckpp_Precision
USE gckpp_Parameters
USE gckpp_Global
USE Precision_Mod, ONLY : fp
USE rateLawUtilFuncs
!
CONTAINS
!
SUBROUTINE carbon_ConvertKgToMolecCm3( &
I, J, L, id_CH4, id_CO, &
id_CO2, xnumol_CH4, xnumol_CO2, xnumol_CO, State_Chm, &
State_Met )
!
! Stub routine for carbon_ConvertKgToMolecCm3,
! needed to satisfy compile-time dependencies
!
USE State_Chm_Mod, ONLY : ChmState
USE State_Met_Mod, ONLY : MetState
!
INTEGER, INTENT(IN) :: I, J, L
INTEGER, INTENT(IN) :: id_CH4
INTEGER, INTENT(IN) :: id_CO
INTEGER, INTENT(IN) :: id_CO2
REAL(fp), INTENT(IN) :: xnumol_CH4
REAL(fp), INTENT(IN) :: xnumol_CO
REAL(fp), INTENT(IN) :: xnumol_CO2
TYPE(MetState), INTENT(IN) :: State_Met
TYPE(ChmState), INTENT(IN) :: State_Chm
END SUBROUTINE carbon_ConvertKgToMolecCm3
!
SUBROUTINE carbon_ComputeRateConstants( &
I, J, L, &
ConcClMnd, ConcOHMnd, LCH4_by_OH, &
LCO_in_Strat, OHdiurnalFac, PCO_fr_CH4_use, &
PCO_fr_CH4, PCO_fr_NMVOC_use, PCO_fr_NMVOC, &
PCO_in_Strat, dtChem, State_Chm, &
State_Met )
!
! Stub for routine carbon_ComputeRateConstants,
! needed to satisfy compile-time dependencies
!
USE State_Chm_Mod, ONLY : ChmState
USE State_Met_Mod, ONLY : MetState
!
INTEGER, INTENT(IN) :: I, J, L
REAL(fp), INTENT(IN) :: ConcClMnd
REAL(fp), INTENT(IN) :: ConcOHmnd
REAL(fp), INTENT(IN) :: LCH4_by_OH
REAL(fp), INTENT(IN) :: LCO_in_Strat
REAL(fp), INTENT(IN) :: OHdiurnalFac
LOGICAL, INTENT(IN) :: PCO_fr_CH4_use
REAL(fp), INTENT(IN) :: PCO_fr_CH4
LOGICAL, INTENT(IN) :: PCO_fr_NMVOC_use
REAL(fp), INTENT(IN) :: PCO_fr_NMVOC
REAL(fp), INTENT(IN) :: PCO_in_Strat
REAL(fp), INTENT(IN) :: dtChem
TYPE(ChmState), INTENT(IN) :: State_Chm
TYPE(MetState), INTENT(IN) :: State_Met
END SUBROUTINE carbon_ComputeRateConstants
!
SUBROUTINE carbon_ConvertMolecCm3ToKg( &
I, J, L, id_CH4, id_CO, &
id_COch4, id_COnmvoc, id_CO2, xnumol_CH4, xnumol_CO2, &
xnumol_CO, State_Chm, State_Met )
!
! Stub for carbon_ConvertMolecCm3ToKg,
! needed to satisfy compile-time dependencies
!
USE State_Chm_Mod, ONLY : ChmState
USE State_Met_Mod, ONLY : MetState
!
INTEGER, INTENT(IN) :: id_CH4
INTEGER, INTENT(IN) :: id_CO
INTEGER, INTENT(IN) :: id_COch4
INTEGER, INTENT(IN) :: id_COnmvoc
INTEGER, INTENT(IN) :: id_CO2
REAL(fp), INTENT(IN) :: xnumol_CH4
REAL(fp), INTENT(IN) :: xnumol_CO
REAL(fp), INTENT(IN) :: xnumol_CO2
TYPE(MetState), INTENT(IN) :: State_Met
TYPE(ChmState), INTENT(INOUT) :: State_Chm
END SUBROUTINE carbon_ConvertMolecCm3ToKg
FUNCTION carbon_Get_COfromCH4_Flux( dtChem ) RESULT ( flux )
!
! Stub for carbon_Get_CO_CH4_Flux
! needed to satisfy compile-time dependencies
!
REAL(dp), INTENT(IN) :: dtChem
REAL(dp) :: flux
END FUNCTION carbon_Get_COfromCH4_Flux
FUNCTION carbon_Get_COfromNMVOC_Flux( dtChem ) RESULT ( flux )
!
! Stub for carbon_Get_CO_NMVOC_Flux
! needed to satisfy compile-time dependencies
!
REAL(dp), INTENT(IN) :: dtChem
REAL(dp) :: flux
END FUNCTION carbon_Get_COfromNMVOC_Flux
FUNCTION carbon_Get_CO2fromOH_Flux( dtChem ) RESULT ( flux )
!
! Stub for carbon_Get_CO_NMVOC_Flux
! needed to satisfy compile-time dependencies
!
REAL(dp), INTENT(IN) :: dtChem
REAL(dp) :: flux
END FUNCTION carbon_Get_CO2fromOH_Flux
FUNCTION carbon_Get_FixedOH_Flux( dtChem ) RESULT ( flux )
!
! Stub for ccarbon_Get_OH_E_Flux
! needed to satisfy compile-time dependencies
!
REAL(dp), INTENT(IN) :: dtChem
REAL(dp) :: flux
END FUNCTION carbon_Get_FixedOH_Flux
END MODULE carbon_Funcs