File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,8 @@ cdef class KineticsModel:
5050 cpdef bint isPressureDependent(self )
5151
5252 cpdef numpy.ndarray getRateCoefficients(self , numpy.ndarray Tlist)
53+
54+ cpdef str toHTML(self )
5355
5456# ###############################################################################
5557
@@ -60,6 +62,8 @@ cdef class KineticsData(KineticsModel):
6062 cpdef bint isPressureDependent(self )
6163
6264 cpdef double getRateCoefficient(self , double T, double P = ?)
65+
66+ cpdef str toHTML(self )
6367
6468# ###############################################################################
6569
Original file line number Diff line number Diff line change @@ -212,6 +212,8 @@ def toHTML(self):
212212 """
213213 Return an HTML rendering.
214214 """
215+ cython .declare (T = cython .double , k = cython .double )
216+ cython .declare (string = str )
215217 string = '<table class="KineticsData"><tr class="KineticsData_Tdata"><th>T/[{0!s}]</th>\n ' .format (self .Tdata .units )
216218 for T in self .Tdata .values :
217219 string += '<td>{0:.0f}</td>' .format (T )
You can’t perform that action at this time.
0 commit comments