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:
Ian bell
2014-05-15 22:19:53 +02:00
parent 7099c5b8fb
commit 56ccdbc4ac
45 changed files with 1467 additions and 2372 deletions

View 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)