EquilibriumPredictor.hpp
58 auto predict(ChemicalState& state, VectorXdConstRef const& dw, VectorXdConstRef const& dc) const -> void;
61 auto speciesChemicalPotentialPredicted(Index ispecies, VectorXdConstRef const& dw, VectorXdConstRef const& dc) const -> double;
The class used to define conditions to be satisfied at chemical equilibrium.
Definition: EquilibriumConditions.hpp:32
Used to predict a chemical equilibrium state at given conditions using first-order Taylor approximati...
Definition: EquilibriumPredictor.hpp:33
EquilibriumPredictor(ChemicalState const &state0, EquilibriumSensitivity const &sensitivity0)
Construct a EquilibriumPredictor object.
auto predict(ChemicalState &state, VectorXdConstRef const &dw, VectorXdConstRef const &dc) const -> void
Perform a first-order Taylor prediction of the chemical state at given conditions.
~EquilibriumPredictor()
Destroy this EquilibriumPredictor object.
auto speciesChemicalPotentialReference(Index ispecies) const -> double
Return the chemical potential of a species at given reference conditions.
auto predict(ChemicalState &state, EquilibriumConditions const &conditions) const -> void
Perform a first-order Taylor prediction of the chemical state at given conditions.
EquilibriumPredictor(EquilibriumPredictor const &other)
Construct a copy of a EquilibriumPredictor object.
auto operator=(EquilibriumPredictor other) -> EquilibriumPredictor &
Assign a copy of a EquilibriumPredictor object to this.
auto speciesChemicalPotentialPredicted(Index ispecies, VectorXdConstRef const &dw, VectorXdConstRef const &dc) const -> double
Perform a first-order Taylor prediction of the chemical potential of a species at given conditions.
The sensitivity derivatives of a chemical equilibrium state.
Definition: EquilibriumSensitivity.hpp:37
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
std::unique_ptr< T > Ptr
Convenient alias for std::unique_ptr<T>.
Definition: Types.hpp:102
Eigen::Ref< const VectorXd > VectorXdConstRef
Convenient alias to Eigen type.
Definition: Matrix.hpp:76