From ce21b08d41c0bae1a59aef1b4846d4d7bcf20bfc Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Fri, 3 Jul 2015 00:14:35 -0400 Subject: [PATCH] [Python] Document ThermoPhase DP, DPX, and DPY properties --- interfaces/cython/cantera/thermo.pyx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interfaces/cython/cantera/thermo.pyx b/interfaces/cython/cantera/thermo.pyx index 760b0f7f7..d459345df 100644 --- a/interfaces/cython/cantera/thermo.pyx +++ b/interfaces/cython/cantera/thermo.pyx @@ -887,6 +887,7 @@ cdef class ThermoPhase(_SolutionBase): V / self._mass_factor()) property DP: + """Get/Set density [kg/m^3] and pressure [Pa].""" def __get__(self): return self.density, self.P def __set__(self, values): @@ -896,6 +897,7 @@ cdef class ThermoPhase(_SolutionBase): self.thermo.setState_RP(D*self._mass_factor(), P) property DPX: + """Get/Set density [kg/m^3], pressure [Pa], and mole fractions.""" def __get__(self): return self.density, self.P, self.X def __set__(self, values): @@ -906,6 +908,7 @@ cdef class ThermoPhase(_SolutionBase): self.thermo.setState_RP(D*self._mass_factor(), P) property DPY: + """Get/Set density [kg/m^3], pressure [Pa], and mass fractions.""" def __get__(self): return self.density, self.P, self.Y def __set__(self, values):