mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Renamed python wrapper files for now to CoolProp5 - python wrapper is coming together. Dropped xdress and building it manually.
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
This commit is contained in:
24
wrappers/Python/CoolProp5/AbstractState.pxd
Normal file
24
wrappers/Python/CoolProp5/AbstractState.pxd
Normal file
@@ -0,0 +1,24 @@
|
||||
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 speed_sound(self)
|
||||
|
||||
cpdef double keyed_output(self, long)
|
||||
Reference in New Issue
Block a user