|
27 | 27 | @inline (arr::StickingCoefficient)(T::Q;P::N=0.0,C::S=0.0,phi=0.0,dGrxn=0.0,d=0.0) where {Q<:Real,N<:Real,S<:Real} = @fastmath min(arr.A*T^arr.n*exp(-arr.Ea/(R*T)),1.0)
|
28 | 28 | export StickingCoefficient
|
29 | 29 |
|
30 |
| -@with_kw struct Arrheniusq{N<:Real,K<:Real,Q<:Real,P<:AbstractRateUncertainty,B} <: AbstractRate |
| 30 | +@with_kw struct Arrheniusq{N<:Real,K<:Real,Q<:Real,R<:Real,P<:AbstractRateUncertainty,B} <: AbstractRate |
31 | 31 | A::N
|
32 | 32 | n::K
|
33 | 33 | Ea::Q
|
34 | 34 | q::B = 0.0
|
| 35 | + V0::R = 0.0 |
35 | 36 | unc::P = EmptyRateUncertainty()
|
36 | 37 | end
|
37 |
| -@inline (arr::Arrheniusq)(;T::Q,P::N=0.0,C::S=0.0,phi=0.0,dGrxn=0.0,d=0.0) where {Q<:Real,N<:Real,S<:Real} = @fastmath arr.A*T^arr.n*exp((-arr.Ea-arr.q*F*phi)/(R*T)) |
38 |
| -@inline (arr::Arrheniusq)(T::Q;P::N=0.0,C::S=0.0,phi=0.0,dGrxn=0.0,d=0.0) where {Q<:Real,N<:Real,S<:Real} = @fastmath arr.A*T^arr.n*exp((-arr.Ea-arr.q*F*phi)/(R*T)) |
| 38 | +@inline (arr::Arrheniusq)(;T::Q,P::N=0.0,C::S=0.0,phi=0.0,dGrxn=0.0,d=0.0) where {Q<:Real,N<:Real,S<:Real} = @fastmath arr.A*T^arr.n*exp((-arr.Ea-arr.q*F*(phi-arr.V0))/(R*T)) |
| 39 | +@inline (arr::Arrheniusq)(T::Q;P::N=0.0,C::S=0.0,phi=0.0,dGrxn=0.0,d=0.0) where {Q<:Real,N<:Real,S<:Real} = @fastmath arr.A*T^arr.n*exp((-arr.Ea-arr.q*F*(phi-arr.V0))/(R*T)) |
39 | 40 | export Arrheniusq
|
40 | 41 |
|
41 | 42 | @with_kw struct Marcus{N<:Real,K<:Real,Q,P<:AbstractRateUncertainty,B} <: AbstractRate
|
@@ -248,7 +249,7 @@ export getkineticstype
|
248 | 249 |
|
249 | 250 | @inline extracttypename(typ::Symbol) = string(typ)
|
250 | 251 | @inline extracttypename(typ) = string(typ.name)
|
251 |
| - |
| 252 | + |
252 | 253 | @inline function _calcdkdCeff(tbarr::ThirdBody,T::Float64,Ceff::Float64)
|
253 | 254 | return @fastmath tbarr.arr(T)
|
254 | 255 | end
|
|
0 commit comments