示例#1
0
 def netProductionRates(self, phase = None):
     w = _cantera.kin_getarray(self.ckin,70)
     if phase:
         kp = phase.thermophase()
         if self._phnum.has_key(kp):
             n = self._phnum[kp]
             return w[self._end[n]:self._end[n+1]]
         else:
             raise CanteraError('unknown phase')
     else:
         return w
示例#2
0
 def netProductionRates(self, phase=None):
     w = _cantera.kin_getarray(self.ckin, 70)
     if phase:
         kp = phase.thermophase()
         if self._phnum.has_key(kp):
             n = self._phnum[kp]
             return w[self._end[n]:self._end[n + 1]]
         else:
             raise CanteraError('unknown phase')
     else:
         return w
示例#3
0
 def fwdRateConstants(self):
     """Forward rate constants for all reactions."""
     return _cantera.kin_getarray(self.ckin,34)
示例#4
0
 def activationEnergies(self):
     """Activation energies in Kelvin for all reactions."""
     return _cantera.kin_getarray(self.ckin,32)
示例#5
0
 def equilibriumConstants(self):
     """Equilibrium constants in concentration units for all reactions."""
     return _cantera.kin_getarray(self.ckin,40)
示例#6
0
 def netRatesOfProgress(self):
     """Net rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,30)
示例#7
0
 def revRatesOfProgress(self):
     """Reverse rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,20)
示例#8
0
 def fwdRatesOfProgress(self):
     """Forward rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 10)
示例#9
0
 def sourceTerms(self):
     return _cantera.kin_getarray(self.ckin,80)
示例#10
0
 def revRateConstants(self, doIrreversible=0):
     """Reverse rate constants for all reactions."""
     if doIrreversible:
         return _cantera.kin_getarray(self.ckin, 35)
     else:
         return _cantera.kin_getarray(self.ckin, 36)
示例#11
0
 def fwdRateConstants(self):
     """Forward rate constants for all reactions."""
     return _cantera.kin_getarray(self.ckin, 34)
示例#12
0
 def activationEnergies(self):
     """Activation energies in Kelvin for all reactions."""
     return _cantera.kin_getarray(self.ckin, 32)
示例#13
0
 def equilibriumConstants(self):
     """Equilibrium constants in concentration units for all reactions."""
     return _cantera.kin_getarray(self.ckin, 40)
示例#14
0
 def netRatesOfProgress(self):
     """Net rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 30)
示例#15
0
 def revRatesOfProgress(self):
     """Reverse rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 20)
示例#16
0
 def revRateConstants(self, doIrreversible = 0):
     """Reverse rate constants for all reactions."""
     if doIrreversible:
         return _cantera.kin_getarray(self.ckin,35)
     else:
         return _cantera.kin_getarray(self.ckin,36)
示例#17
0
 def sourceTerms(self):
     return _cantera.kin_getarray(self.ckin, 80)
示例#18
0
 def fwdRatesOfProgress(self):
     """Forward rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,10)
示例#19
0
 def delta_S0(self):
     return _cantera.kin_getarray(self.ckin,95)
示例#20
0
 def delta_S0(self):
     return _cantera.kin_getarray(self.ckin,95)