struct Reaction::Impl

Declaration

struct Reaction::Impl { /* full declaration omitted */ };

Declared at: ThermoFun/Reaction.cpp:18

Member Variables

public std::string name
The name of the chemical Reaction
public std::string equation
The chemical formula of the chemical Reaction
public std::string symbol
The symbol of the chemical reaction
public std::map<std::string, double> reactants
public ThermoFun::ThermoPropertiesReaction thermo_ref_prop
public ThermoFun::ThermoParametersReaction thermo_parameters
public MethodGenEoS_Thrift::type method_genEoS
General method (or equation of state for both T and P correction)
public MethodCorrT_Thrift::type method_T
Method of temperature correction of thermodynamic properties
public MethodCorrP_Thrift::type method_P
Method of pressure correction of thermodynamic properties
public RectionThermoCalculationType::type thermo_calculation_type = RectionThermoCalculationType::type::REACTANTS
Type of calculation used for determining the reaction properties using a defined PT correction model or from reactants
public double reference_T = 298.14999999999998
Reference temperature (in K)
public double reference_P = 1.0E+5
Reference pressure (in Pa)
public double lower_T
Lower temperature limit (in K)
public double lower_P
Lower pressure limit (in Pa)
public double upper_T
Upper temperature limit (in K)
public double upper_P
Upper pressure limit (in Pa)
public std::string jString

Method Overview

  • public std::string extractCoef(const std::string & data, double & coef)
  • public auto fromEquation(const std::string & reactionEquation) -> void
  • public std::vector<std::string> regexp_split(const std::string & str, std::string rgx_str)
  • public void strip_all(std::string & str, const std::string & valof)

Methods

std::string extractCoef(const std::string& data,
                        double& coef)

Declared at: ThermoFun/Reaction.cpp:102

Parameters

const std::string& data
double& coef

auto fromEquation(
    const std::string& reactionEquation) -> void

Declared at: ThermoFun/Reaction.cpp:117

Parameters

const std::string& reactionEquation

std::vector<std::string> regexp_split(
    const std::string& str,
    std::string rgx_str)

Declared at: ThermoFun/Reaction.cpp:82

Parameters

const std::string& str
std::string rgx_str

void strip_all(std::string& str,
               const std::string& valof)

Declared at: ThermoFun/Reaction.cpp:68

Parameters

std::string& str
const std::string& valof