mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-21 03:48:08 -05:00
Add criticality_contour_values to pybind11 interface; closes #1300
This commit is contained in:
@@ -223,7 +223,7 @@ void init_CoolProp(py::module &m){
|
||||
.def("all_critical_points", &AbstractState::all_critical_points)
|
||||
.def("build_spinodal", &AbstractState::build_spinodal)
|
||||
.def("get_spinodal_data", &AbstractState::get_spinodal_data)
|
||||
.def("criticality_contour_values", &AbstractState::criticality_contour_values)
|
||||
.def("criticality_contour_values", [](AbstractState &AS) { double L, M; AS.criticality_contour_values(L, M); return py::make_tuple(L, M); })
|
||||
.def("tangent_plane_distance", &AbstractState::tangent_plane_distance)
|
||||
.def("T_reducing", &AbstractState::T_reducing)
|
||||
.def("rhomolar_reducing", &AbstractState::rhomolar_reducing)
|
||||
|
||||
Reference in New Issue
Block a user