teqp 0.19.1
|
#include "teqp/cpp/teqpcpp.hpp"
#include "teqp/models/fwd.hpp"
#include "teqp/cpp/deriv_adapter.hpp"
Go to the source code of this file.
Namespaces | |
namespace | teqp |
namespace | teqp::cppinterface |
Typedefs | |
using | teqp::cppinterface::makefunc = ModelPointerFactoryFunction |
Functions | |
std::unique_ptr< teqp::cppinterface::AbstractModel > | teqp::cppinterface::make_SAFTVRMie (const nlohmann::json &j) |
nlohmann::json | teqp::cppinterface::get_model_schema (const std::string &kind) |
Return the schema for the given model kind. | |
std::unique_ptr< AbstractModel > | teqp::cppinterface::build_model_ptr (const nlohmann::json &json, bool validate=true) |
std::unique_ptr< AbstractModel > | teqp::cppinterface::make_multifluid_model (const std::vector< std::string > &components, const std::string &coolprop_root, const std::string &BIPcollectionpath={}, const nlohmann::json &flags={}, const std::string &departurepath={}) |
std::unique_ptr< AbstractModel > | teqp::cppinterface::make_model (const nlohmann::json &, bool validate=true) |
void | teqp::cppinterface::add_model_pointer_factory_function (const std::string &key, ModelPointerFactoryFunction &func) |
This function allows you to inject your own model factory function into the set of factory functions implemented in teqp. This allows you to add your own model at runtime. As an example of how to do this, see src/test_runtime_model_inclusion.cpp. | |
Variables | |
const nlohmann::json | model_schema_library |
|
extern |