コード例 #1
0
 def solveSpeciesEqs(self, flag=1):
     """Enable or disable solving the species equations. If invoked
     with no arguments or with a non-zero argument, the species
     equations will be solved. If invoked with a zero argument,
     they will not be, and instead the species profiles will be
     held at their initial values. Default: species equations
     enabled."""
     return _cantera.stflow_solveSpeciesEqs(self._hndl, _onoff[flag])
コード例 #2
0
ファイル: onedim.py プロジェクト: anujg1991/cantera
 def solveSpeciesEqs(self, flag = 1):
     """Enable or disable solving the species equations. If invoked
     with no arguments or with a non-zero argument, the species
     equations will be solved. If invoked with a zero argument,
     they will not be, and instead the species profiles will be
     held at their initial values. Default: species equations
     enabled."""
     return _cantera.stflow_solveSpeciesEqs(self._hndl, _onoff[flag])