Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add phases enum to pybind11 interface #1296

Closed
ianhbell opened this issue Oct 26, 2016 · 0 comments
Closed

Add phases enum to pybind11 interface #1296

ianhbell opened this issue Oct 26, 2016 · 0 comments
Milestone

Comments

@ianhbell
Copy link
Contributor

    py::enum_<phases>(m, "phases")
        .value("iphase_liquid", phases::iphase_liquid)
        .value("iphase_supercritical", phases::iphase_supercritical)
        .value("iphase_supercritical_gas", phases::iphase_supercritical_gas)
        .value("iphase_supercritical_liquid", phases::iphase_supercritical_liquid)
        .value("iphase_critical_point", phases::iphase_critical_point)
        .value("iphase_gas", phases::iphase_gas)
        .value("iphase_twophase", phases::iphase_twophase)
        .value("iphase_unknown", phases::iphase_unknown)
        .export_values();
@ibell ibell added this to the MinorRelease milestone Oct 27, 2016
@ibell ibell closed this as completed in f81d306 Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants