Class to specify information related to constraints.
#include <dumux/common/constraintinfo.hh>
Public Member Functions | |
| ConstraintInfo () | |
| void | reset () |
| Reset for all equations. More... | |
| void | resetEq (int eqIdx) |
| Reset for one equation. More... | |
| void | setAll () |
| Set all as constraints. More... | |
| void | set (int eqIdx) |
| Set a constraint condition for a single equation. More... | |
| bool | isConstraintEquation (int eqIdx) const |
| Returns true if an equation is used to specify a constraint condition. More... | |
Static Public Member Functions | |
| static constexpr int | size () |
| we might have a constraint for each equation More... | |
Protected Attributes | |
| std::array< bool, numEq > | isConstraint_ |
|
inline |
|
inline |
| eqIdx | The index of the equation |
|
inline |
|
inline |
|
inline |
| eqIdx | The index of the equation for which constraint is set |
|
inline |
|
inlinestaticconstexpr |
|
protected |