Skip to content
Snippets Groups Projects
Commit 84ebc0fb authored by Ian Bell's avatar Ian Bell
Browse files

Expose get_a and get_b functions for cubics

Bump version
parent 4b3b24d3
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,8 @@ void add_cubics(py::module& m) { ...@@ -13,6 +13,8 @@ void add_cubics(py::module& m) {
auto wcub = py::class_<cub>(m, "GenericCubic") auto wcub = py::class_<cub>(m, "GenericCubic")
.def("get_meta", &cub::get_meta) .def("get_meta", &cub::get_meta)
.def("superanc_rhoLV", &cub::superanc_rhoLV) .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); add_derivatives<cub>(m, wcub);
} }
\ No newline at end of file
#include <string> #include <string>
const std::string TEQPVERSION = "0.9.3"; const std::string TEQPVERSION = "0.9.4.dev0";
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment