File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ cdef class KineticsModel:
50
50
cpdef bint isPressureDependent(self )
51
51
52
52
cpdef numpy.ndarray getRateCoefficients(self , numpy.ndarray Tlist)
53
+
54
+ cpdef str toHTML(self )
53
55
54
56
# ###############################################################################
55
57
@@ -60,6 +62,8 @@ cdef class KineticsData(KineticsModel):
60
62
cpdef bint isPressureDependent(self )
61
63
62
64
cpdef double getRateCoefficient(self , double T, double P = ?)
65
+
66
+ cpdef str toHTML(self )
63
67
64
68
# ###############################################################################
65
69
Original file line number Diff line number Diff line change @@ -212,6 +212,8 @@ def toHTML(self):
212
212
"""
213
213
Return an HTML rendering.
214
214
"""
215
+ cython .declare (T = cython .double , k = cython .double )
216
+ cython .declare (string = str )
215
217
string = '<table class="KineticsData"><tr class="KineticsData_Tdata"><th>T/[{0!s}]</th>\n ' .format (self .Tdata .units )
216
218
for T in self .Tdata .values :
217
219
string += '<td>{0:.0f}</td>' .format (T )
You can’t perform that action at this time.
0 commit comments