コード例 #1
0
 def setPressure(self, p):
     """Set the pressure [Pa]. The pressure is a constant, since
     the governing equations are those for the low-Mach-number limit."""
     _cantera.stflow_setPressure(self._hndl, p)
     self._p = p
コード例 #2
0
ファイル: onedim.py プロジェクト: anujg1991/cantera
 def setPressure(self, p):
     """Set the pressure [Pa]. The pressure is a constant, since
     the governing equations are those for the low-Mach-number limit."""
     _cantera.stflow_setPressure(self._hndl, p)
     self._p = p