Reaktoro  v2.11.0
A unified framework for modeling chemically reactive systems
EquationConstraints Struct Reference

Used to define a system of equation constraints in a chemical equilibrium problem. More...

#include <EquilibriumSpecs.hpp>

Collaboration diagram for EquationConstraints:
[legend]

Public Types

using Func = Fn< VectorXr(ChemicalProps const &props, VectorXrConstRef const &w, VectorXrConstRef const &p)>
 The signature of functions that evaluate the residual of the system of equation constraints. More...
 

Public Attributes

Strings ids
 The unique identifier for each equation constraint.
 
Func fn
 The function defining the system of equations to be satisfied at chemical equilibrium.
 

Detailed Description

Used to define a system of equation constraints in a chemical equilibrium problem.

Member Typedef Documentation

◆ Func

using Func = Fn<VectorXr(ChemicalProps const& props, VectorXrConstRef const& w, VectorXrConstRef const& p)>

The signature of functions that evaluate the residual of the system of equation constraints.

Parameters
propsThe current chemical properties of the system in the equilibrium calculation.
wThe input variables w in the chemical equilibrium calculation.
pThe control variables p in the chemical equilibrium calculation.

The documentation for this struct was generated from the following file: