EquilibriumProps.hpp
54 auto update(VectorXrConstRef n, VectorXrConstRef p, VectorXrConstRef w, bool useIdealModel = false) -> void;
70 auto update(VectorXrConstRef n, VectorXrConstRef p, VectorXrConstRef w, bool useIdealModel, long inpw) -> void;
The class that computes chemical properties of a chemical system.
Definition: ChemicalProps.hpp:34
The class that computes chemical properties of a system during equilibrium calculations.
Definition: EquilibriumProps.hpp:35
auto operator=(EquilibriumProps other) -> EquilibriumProps &
Assign a EquilibriumProps object to this.
auto chemicalState() const -> const ChemicalState &
Return the underlying chemical state of the system and its updated properties.
auto chemicalProps() const -> const ChemicalProps &
Return the underlying chemical properties of the system.
EquilibriumProps(const EquilibriumSpecs &specs)
Construct a EquilibriumProps object with given equilibrium specifications.
auto assembleFullJacobianBegin() -> void
Enable recording of derivatives of the chemical properties with respect to *(n, p,...
auto dudn() const -> MatrixXdConstRef
Return the partial derivatives of the serialized chemical properties u with respect to species amount...
auto dudp() const -> MatrixXdConstRef
Return the partial derivatives of the serialized chemical properties u with respect to control variab...
auto dudw() const -> MatrixXdConstRef
Return the partial derivatives of the serialized chemical properties u with respect to input variable...
auto assembleFullJacobianEnd() -> void
Disable recording of derivatives of the chemical properties with respect to *(n, p,...
auto update(VectorXrConstRef n, VectorXrConstRef p, VectorXrConstRef w, bool useIdealModel, long inpw) -> void
Update the chemical properties of the chemical system.
EquilibriumProps(const EquilibriumProps &other)
Construct a copy of a EquilibriumProps object.
auto update(VectorXrConstRef n, VectorXrConstRef p, VectorXrConstRef w, bool useIdealModel=false) -> void
Update the chemical properties of the chemical system.
~EquilibriumProps()
Destroy this EquilibriumProps object.
The class used to define conditions to be satisfied at chemical equilibrium.
Definition: EquilibriumSpecs.hpp:281
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
Eigen::Ref< const VectorXr > VectorXrConstRef
Convenient alias to Eigen type.
Definition: Matrix.hpp:60
std::unique_ptr< T > Ptr
Convenient alias for std::unique_ptr<T>.
Definition: Types.hpp:102
Eigen::Ref< const MatrixXd > MatrixXdConstRef
Convenient alias to Eigen type.
Definition: Matrix.hpp:139