Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rmgpy/kinetics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@

from rmgpy.kinetics.model import KineticsModel, PDepKineticsModel, TunnelingModel, \
get_rate_coefficient_units_from_reaction_order, get_reaction_order_from_rate_coefficient_units
from rmgpy.kinetics.arrhenius import Arrhenius, ArrheniusEP, PDepArrhenius, MultiArrhenius, MultiPDepArrhenius, ArrheniusBM
from rmgpy.kinetics.arrhenius import Arrhenius, ArrheniusEP, PDepArrhenius, MultiArrhenius, MultiPDepArrhenius, \
ArrheniusBM, ArrheniusChargeTransfer, ArrheniusChargeTransferBM
from rmgpy.kinetics.chebyshev import Chebyshev
from rmgpy.kinetics.falloff import ThirdBody, Lindemann, Troe
from rmgpy.kinetics.kineticsdata import KineticsData, PDepKineticsData
Expand Down
51 changes: 51 additions & 0 deletions rmgpy/kinetics/arrhenius.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,55 @@ cdef class MultiPDepArrhenius(PDepKineticsModel):

cpdef bint is_identical_to(self, KineticsModel other_kinetics) except -2


cpdef change_rate(self, double factor)

################################################################################
cdef class ArrheniusChargeTransfer(KineticsModel):

cdef public ScalarQuantity _A
cdef public ScalarQuantity _n
cdef public ScalarQuantity _Ea
cdef public ScalarQuantity _T0
cdef public ScalarQuantity _V0
cdef public ScalarQuantity _alpha
cdef public ScalarQuantity _electrons

cpdef double get_activation_energy_from_potential(self, double V=?, bint non_negative=?)

cpdef double get_rate_coefficient(self, double T, double V=?) except -1

cpdef change_rate(self, double factor)

cpdef change_t0(self, double T0)

cpdef change_v0(self, double V0)

cpdef fit_to_data(self, np.ndarray Tlist, np.ndarray klist, str kunits, double T0=?, np.ndarray weights=?, bint three_params=?)

cpdef bint is_identical_to(self, KineticsModel other_kinetics) except -2


################################################################################

cdef class ArrheniusChargeTransferBM(KineticsModel):

cdef public ScalarQuantity _A
cdef public ScalarQuantity _n
cdef public ScalarQuantity _E0
cdef public ScalarQuantity _w0
cdef public ScalarQuantity _V0
cdef public ScalarQuantity _alpha
cdef public ScalarQuantity _electrons

cpdef change_v0(self, double V0)

cpdef double get_activation_energy(self, double dGrxn) except -1

cpdef double get_rate_coefficient_from_potential(self, double T, double V, double dGrxn) except -1

cpdef ArrheniusChargeTransfer to_arrhenius_charge_transfer(self, double dGrxn)

cpdef bint is_identical_to(self, KineticsModel other_kinetics) except -2

cpdef change_rate(self, double factor)
Loading