Class to specify information related to Dirichlet constraints.
#include <dumux/common/constraintinfo.hh>
|
| | DirichletConstraintInfo () |
| |
| 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 pvIdx, int eqIdx) |
| | Set a constraint condition for a single primary variable. More...
|
| |
| void | set (int pvIdx) |
| | Set a constraint condition for a single primary variable. More...
|
| |
| int | priVarToEqIndex (int pvIdx) const |
| | Returns the index of the equation which should be used for the constraint condition of the pvIdx's primary variable. More...
|
| |
| int | eqToPriVarIndex (int eqIdx) const |
| | Returns the index of the primary variable which should be used for the constraint condition given an equation index. More...
|
| |
| bool | isConstraintEquation (int eqIdx) const |
| | Returns true if an equation is used to specify a constraint condition. More...
|
| |
|
| static constexpr int | size () |
| | we might have a constraint for each equation More...
|
| |
◆ DirichletConstraintInfo()
◆ eqToPriVarIndex()
- Parameters
-
| eqIdx | The index of the equation which is used to set the constraint condition. |
◆ isConstraintEquation()
- Parameters
-
| eqIdx | The index of the equation |
◆ priVarToEqIndex()
- Parameters
-
| pvIdx | The index of the primary variable which is be set by the constraint condition. |
◆ reset()
◆ resetEq()
◆ set() [1/2]
- Parameters
-
| pvIdx | The index of the primary variable inside a PrimaryVariables object. |
◆ set() [2/2]
- Parameters
-
| pvIdx | The index of the primary variable for which the constraint condition should apply. |
| eqIdx | The index of the equation which should be used to set the constraint condition |
◆ setAll()
◆ size()
template<int numEq>
|
|
inlinestaticconstexprinherited |
◆ isConstraint_
The documentation for this class was generated from the following file: