Files
CoolProp/wrappers/Python/CoolProp5/AbstractState.pxd
Ian Bell 2cbc4b8ec4 Updated cython wrapper
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2014-06-30 17:11:44 +02:00

30 lines
993 B
Cython

from libcpp cimport bool
from libcpp.string cimport string
# A header defining the AbstractState class
cimport cAbstractState
cdef class AbstractState:
cdef cAbstractState.AbstractState *thisptr # hold a C++ instance which we're wrapping
cpdef update(self, long iInput1, double Value1, double Value2)
## ----------------------------------------
## Fluid property accessors
## ----------------------------------------
cpdef double T(self)
cpdef double p(self)
cpdef double rhomolar(self)
cpdef double hmolar(self)
cpdef double smolar(self)
cpdef double cpmolar(self)
cpdef double cvmolar(self)
cpdef double rhomass(self)
cpdef double hmass(self) except *
cpdef double smass(self) except *
cpdef double cpmass(self) except *
cpdef double cvmass(self) except *
cpdef double speed_sound(self) except *
cpdef double molar_mass(self) except *
cpdef double keyed_output(self, long) except *