mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Small work on the docs - doxylink needs to be fed an absolute path, but otherwise seems good. Might need to generate the absolute path at runtime somehow. Its different between local and remote locations of HTML.
Signed-off-by: Ian bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
from __future__ import division
|
||||
|
||||
cdef class AbstractState:
|
||||
"""
|
||||
This class is a one-to-one python wrapper of the :cpapi:`AbstractState` class
|
||||
"""
|
||||
|
||||
def __cinit__(self, string backend, string fluid):
|
||||
self.thisptr = cAbstractState.factory(backend, fluid)
|
||||
@@ -10,6 +13,7 @@ cdef class AbstractState:
|
||||
del self.thisptr
|
||||
|
||||
cpdef update(self, long ipair, double Value1, double Value2):
|
||||
""" Update :cpapi:`AbstractState::update` """
|
||||
self.thisptr.update(ipair, Value1, Value2)
|
||||
|
||||
## ----------------------------------------
|
||||
@@ -17,6 +21,7 @@ cdef class AbstractState:
|
||||
## ----------------------------------------
|
||||
|
||||
cpdef double keyed_output(self, long iOutput) except *:
|
||||
""" Update :cpapi:`AbstractState::update` """
|
||||
return self.thisptr.keyed_output(iOutput)
|
||||
|
||||
cpdef double T(self) except *:
|
||||
|
||||
Reference in New Issue
Block a user