Beispiel #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
Beispiel #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
Beispiel #3
0
 def fwdRateConstants(self):
     """Forward rate constants for all reactions."""
     return _cantera.kin_getarray(self.ckin,34)
Beispiel #4
0
 def activationEnergies(self):
     """Activation energies in Kelvin for all reactions."""
     return _cantera.kin_getarray(self.ckin,32)
Beispiel #5
0
 def equilibriumConstants(self):
     """Equilibrium constants in concentration units for all reactions."""
     return _cantera.kin_getarray(self.ckin,40)
Beispiel #6
0
 def netRatesOfProgress(self):
     """Net rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,30)
Beispiel #7
0
 def revRatesOfProgress(self):
     """Reverse rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,20)
Beispiel #8
0
 def fwdRatesOfProgress(self):
     """Forward rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 10)
Beispiel #9
0
 def sourceTerms(self):
     return _cantera.kin_getarray(self.ckin,80)
Beispiel #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)
Beispiel #11
0
 def fwdRateConstants(self):
     """Forward rate constants for all reactions."""
     return _cantera.kin_getarray(self.ckin, 34)
Beispiel #12
0
 def activationEnergies(self):
     """Activation energies in Kelvin for all reactions."""
     return _cantera.kin_getarray(self.ckin, 32)
Beispiel #13
0
 def equilibriumConstants(self):
     """Equilibrium constants in concentration units for all reactions."""
     return _cantera.kin_getarray(self.ckin, 40)
Beispiel #14
0
 def netRatesOfProgress(self):
     """Net rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 30)
Beispiel #15
0
 def revRatesOfProgress(self):
     """Reverse rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin, 20)
Beispiel #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)
Beispiel #17
0
 def sourceTerms(self):
     return _cantera.kin_getarray(self.ckin, 80)
Beispiel #18
0
 def fwdRatesOfProgress(self):
     """Forward rates of progress of the reactions."""
     return _cantera.kin_getarray(self.ckin,10)
Beispiel #19
0
 def delta_S0(self):
     return _cantera.kin_getarray(self.ckin,95)
Beispiel #20
0
 def delta_S0(self):
     return _cantera.kin_getarray(self.ckin,95)