teqp
0.22.0
Loading...
Searching...
No Matches
interface
CPP
model_factory_pcsaft.cpp
Go to the documentation of this file.
1
#include "
teqp/cpp/teqpcpp.hpp
"
2
#include "
teqp/cpp/deriv_adapter.hpp
"
3
#include "
teqp/models/pcsaft.hpp
"
4
5
namespace
teqp
{
6
namespace
cppinterface{
7
std::unique_ptr<teqp::cppinterface::AbstractModel>
make_PCSAFT
(
const
nlohmann::json &spec){
8
return
teqp::cppinterface::adapter::make_owned
(
PCSAFT::PCSAFTfactory
(spec));
9
}
10
std::unique_ptr<teqp::cppinterface::AbstractModel>
make_PCSAFTPureGrossSadowski2001
(
const
nlohmann::json &spec){
11
return
teqp::cppinterface::adapter::make_owned
(
PCSAFT::PCSAFTPureGrossSadowski2001
(spec));
12
}
13
}
14
}
teqp::saft::PCSAFT::PCSAFTPureGrossSadowski2001
Definition
pcsaftpure.hpp:8
deriv_adapter.hpp
teqp::cppinterface::adapter::make_owned
auto make_owned(const TemplatedModel &tmodel)
Definition
deriv_adapter.hpp:230
teqp::cppinterface::make_PCSAFTPureGrossSadowski2001
std::unique_ptr< teqp::cppinterface::AbstractModel > make_PCSAFTPureGrossSadowski2001(const nlohmann::json &spec)
Definition
model_factory_pcsaft.cpp:10
teqp::cppinterface::make_PCSAFT
std::unique_ptr< teqp::cppinterface::AbstractModel > make_PCSAFT(const nlohmann::json &spec)
Definition
model_factory_pcsaft.cpp:7
teqp::saft::pcsaft::PCSAFTfactory
auto PCSAFTfactory(const nlohmann::json &spec)
A JSON-based factory function for the PC-SAFT model.
Definition
pcsaft.hpp:455
teqp
Definition
ancillary_builder.hpp:8
pcsaft.hpp
teqpcpp.hpp
Generated by
1.11.0