teqp
0.22.0
Loading...
Searching...
No Matches
interface
CPP
model_factory_CPA.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/CPA.hpp
"
4
5
namespace
teqp
{
6
namespace
cppinterface{
7
using
teqp::cppinterface::adapter::make_owned
;
8
9
std::unique_ptr<teqp::cppinterface::AbstractModel>
make_CPA
(
const
nlohmann::json &spec){
10
return
make_owned
(
CPA::CPAfactory
(spec));
11
}
12
}
13
}
CPA.hpp
deriv_adapter.hpp
teqp::CPA::CPAfactory
auto CPAfactory(const nlohmann::json &j)
Definition
CPA.hpp:301
teqp::cppinterface::adapter::make_owned
auto make_owned(const TemplatedModel &tmodel)
Definition
deriv_adapter.hpp:230
teqp::cppinterface::make_CPA
std::unique_ptr< teqp::cppinterface::AbstractModel > make_CPA(const nlohmann::json &spec)
Definition
model_factory_CPA.cpp:9
teqp
Definition
ancillary_builder.hpp:8
teqpcpp.hpp
Generated by
1.11.0