Skip to content

Commit

Permalink
Expose get_a and get_b functions for cubics
Browse files Browse the repository at this point in the history
Bump version
  • Loading branch information
ianhbell committed Jul 26, 2022
1 parent 4b3b24d commit 84ebc0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions interface/cubics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ void add_cubics(py::module& m) {
auto wcub = py::class_<cub>(m, "GenericCubic")
.def("get_meta", &cub::get_meta)
.def("superanc_rhoLV", &cub::superanc_rhoLV)
.def("get_a", &cub::get_a<double, Eigen::ArrayXd>, py::arg("T"), py::arg("molefrac").noconvert())
.def("get_b", &cub::get_b<double, Eigen::ArrayXd>, py::arg("T"), py::arg("molefrac").noconvert())
;
add_derivatives<cub>(m, wcub);
}
2 changes: 1 addition & 1 deletion interface/teqpversion.hpp
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#include <string>
const std::string TEQPVERSION = "0.9.3";
const std::string TEQPVERSION = "0.9.4.dev0";

0 comments on commit 84ebc0f

Please sign in to comment.