[Cython] Add units to PureFluid property docstrings
This commit is contained in:
parent
50a97063b7
commit
af81729504
1 changed files with 2 additions and 2 deletions
|
|
@ -1203,7 +1203,7 @@ cdef class PureFluid(ThermoPhase):
|
|||
self.thermo.setState_Psat(self.P, X)
|
||||
|
||||
property TX:
|
||||
"""Get/Set the temperature and vapor fraction of a two-phase state."""
|
||||
"""Get/Set the temperature [K] and vapor fraction of a two-phase state."""
|
||||
def __get__(self):
|
||||
return self.T, self.X
|
||||
def __set__(self, values):
|
||||
|
|
@ -1212,7 +1212,7 @@ cdef class PureFluid(ThermoPhase):
|
|||
self.thermo.setState_Tsat(T, X)
|
||||
|
||||
property PX:
|
||||
"""Get/Set the pressure and vapor fraction of a two-phase state."""
|
||||
"""Get/Set the pressure [Pa] and vapor fraction of a two-phase state."""
|
||||
def __get__(self):
|
||||
return self.P, self.X
|
||||
def __set__(self, values):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue