Skip to content

Commit

Permalink
Merge branch 'main' into multifluidAC
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhbell committed Aug 26, 2024
2 parents 4aded3f + 01f5b8a commit 9882673
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/source/models/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Models
SAFT-VR-Mie
SAFT-VR-Mie-Polar
Association
Check_Dufal_Water
Check_Dufal_water

multifluid
multifluid_mutant
Expand Down
4 changes: 3 additions & 1 deletion interface/pybind11_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,9 @@ void init_teqp(py::module& m) {
py::class_<PSpecification, AbstractSpecification, std::shared_ptr<PSpecification>>(m_phaseequil, "PSpecification").def(py::init<double>());
py::class_<BetaSpecification, AbstractSpecification, std::shared_ptr<BetaSpecification>>(m_phaseequil, "BetaSpecification").def(py::init<double, std::size_t>());
py::class_<MolarVolumeSpecification, AbstractSpecification, std::shared_ptr<MolarVolumeSpecification>>(m_phaseequil, "MolarVolumeSpecification").def(py::init<double>());
// TODO: H,S,U as specifications
py::class_<MolarEntropySpecification, AbstractSpecification, std::shared_ptr<MolarEntropySpecification>>(m_phaseequil, "MolarEntropySpecification").def(py::init<double>());
py::class_<MolarEnthalpySpecification, AbstractSpecification, std::shared_ptr<MolarEnthalpySpecification>>(m_phaseequil, "MolarEnthalpySpecification").def(py::init<double>());
py::class_<MolarInternalEnergySpecification, AbstractSpecification, std::shared_ptr<MolarInternalEnergySpecification>>(m_phaseequil, "MolarInternalEnergySpecification").def(py::init<double>());

using CallResult = GeneralizedPhaseEquilibrium::CallResult;
py::class_<CallResult>(m_phaseequil, "CallResult")
Expand Down

0 comments on commit 9882673

Please sign in to comment.