EquilibriumSolver.hpp
67 auto approximate(ChemicalState& state, double T, double P, VectorConstRef be) -> EquilibriumResult;
auto setPartition(const Partition &partition) -> void
Set the partition of the chemical system.
Definition: EquilibriumSolver.cpp:610
The options for the equilibrium calculations.
Definition: EquilibriumOptions.hpp:55
auto dndb() -> VectorConstRef
Compute the sensitivity of the species amounts with respect to element amounts.
Definition: EquilibriumSolver.cpp:672
auto properties() const -> const ChemicalProperties &
Return the chemical properties of the calculated equilibrium state.
Definition: EquilibriumSolver.cpp:652
A class to represent a system and its attributes and properties.
Definition: ChemicalSystem.hpp:38
Provides a computational representation of the state of a multiphase chemical system.
Definition: ChemicalState.hpp:61
A type that defines an equilibrium problem.
Definition: EquilibriumProblem.hpp:33
auto solve(ChemicalState &state, double T, double P, VectorConstRef be) -> EquilibriumResult
Solve an equilibrium problem with given molar amounts of the elements in the equilibrium partition.
Definition: EquilibriumSolver.cpp:631
auto sensitivity() -> const EquilibriumSensitivity &
Return the sensitivity of the equilibrium state.
Definition: EquilibriumSolver.cpp:657
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
A solver class for solving chemical equilibrium calculations.
Definition: EquilibriumSolver.hpp:38
A type that contains the sensitivity data of the equilibrium state.
Definition: EquilibriumSensitivity.hpp:31
A class for querying thermodynamic and chemical properties of a chemical system.
Definition: ChemicalProperties.hpp:33
virtual ~EquilibriumSolver()
Destroy this EquilibriumSolver instance.
Definition: EquilibriumSolver.cpp:596
auto approximate(ChemicalState &state, double T, double P, VectorConstRef be) -> EquilibriumResult
Find an initial feasible guess for an equilibrium problem.
Definition: EquilibriumSolver.cpp:615
auto dndP() -> VectorConstRef
Compute the sensitivity of the species amounts with respect to pressure.
Definition: EquilibriumSolver.cpp:667
Provide a computational representation of the Partition of a chemical system.
Definition: Partition.hpp:56
EquilibriumSolver()
Construct a default EquilibriumSolver instance.
Definition: EquilibriumSolver.cpp:580
auto dndT() -> VectorConstRef
Compute the sensitivity of the species amounts with respect to temperature.
Definition: EquilibriumSolver.cpp:662
Eigen::Ref< const Eigen::VectorXd > VectorConstRef
< Alias to Eigen type Ref<VectorXd>.
Definition: Matrix.hpp:31
A type used to describe the result of an equilibrium calculation.
Definition: EquilibriumResult.hpp:35
auto operator=(EquilibriumSolver other) -> EquilibriumSolver &
Assign a copy of an EquilibriumSolver instance.
Definition: EquilibriumSolver.cpp:599
auto setOptions(const EquilibriumOptions &options) -> void
Set the options of the equilibrium solver.
Definition: EquilibriumSolver.cpp:605