teqp 0.22.0
Loading...
Searching...
No Matches
critical_pure.hpp File Reference
#include "nlohmann/json.hpp"
#include <Eigen/Dense>
#include "teqp/derivs.hpp"
#include "teqp/exceptions.hpp"
#include "teqp/cpp/teqpcpp.hpp"
#include "teqp/cpp/deriv_adapter.hpp"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  teqp
 

Functions

auto teqp::get_pure_critical_conditions_Jacobian (const AbstractModel &model, const double T, const double rho, const std::optional< std::size_t > &alternative_pure_index=std::nullopt, const std::optional< std::size_t > &alternative_length=std::nullopt)
 
template<typename Model , typename Scalar , ADBackends backend = ADBackends::autodiff, typename = typename std::enable_if<not std::is_base_of<teqp::cppinterface::AbstractModel, Model>::value>::type>
auto teqp::get_pure_critical_conditions_Jacobian (const Model &model, const Scalar T, const Scalar rho, const std::optional< std::size_t > &alternative_pure_index=std::nullopt, const std::optional< std::size_t > &alternative_length=std::nullopt)
 
template<typename Model , typename Scalar , ADBackends backend = ADBackends::autodiff, typename = typename std::enable_if<not std::is_base_of<teqp::cppinterface::AbstractModel, Model>::value>::type>
auto teqp::solve_pure_critical (const Model &model, const Scalar T0, const Scalar rho0, const std::optional< nlohmann::json > &flags=std::nullopt)
 
auto teqp::solve_pure_critical (const AbstractModel &model, const double T0, const double rho0, const std::optional< nlohmann::json > &flags=std::nullopt)
 
template<typename Model , typename Scalar , typename = typename std::enable_if<not std::is_base_of<teqp::cppinterface::AbstractModel, Model>::value>::type>
Scalar teqp::get_Brho_critical_extrap (const Model &model, const Scalar &Tc, const Scalar &rhoc, const std::optional< Eigen::ArrayXd > &z=std::nullopt)
 
template<typename Model , typename Scalar , typename = typename std::enable_if<not std::is_base_of<teqp::cppinterface::AbstractModel, Model>::value>::type>
Eigen::Array< double, 2, 1 > teqp::extrapolate_from_critical (const Model &model, const Scalar &Tc, const Scalar &rhoc, const Scalar &T, const std::optional< Eigen::ArrayXd > &z=std::nullopt)
 
double teqp::get_Brho_critical_extrap (const AbstractModel &model, const double &Tc, const double &rhoc, const std::optional< Eigen::ArrayXd > &z=std::nullopt)
 
auto teqp::extrapolate_from_critical (const AbstractModel &model, const double &Tc, const double &rhoc, const double &T, const std::optional< Eigen::ArrayXd > &z=std::nullopt)