An adapter for the Newton to manage models with primary variable switch.
#include <dumux/nonlinear/primaryvariableswitchadapter.hh>
|
| | PrimaryVariableSwitchAdapter (const std::string ¶mGroup="") |
| |
| template<class SolutionVector> |
| void | initialize (SolutionVector &sol, Variables &vars) |
| | Initialize the privar switch.
|
| |
| template<class SolutionVector> |
| void | invoke (SolutionVector &uCurrentIter, Variables &vars) |
| | Switch primary variables if necessary.
|
| |
| bool | switched () const |
| | Whether the primary variables have been switched in the last call to invoke.
|
| |
◆ PrimaryVariableSwitchAdapter()
template<class Variables, bool isValid = hasPriVarsSwitch<Variables>>
◆ initialize()
template<class Variables, bool isValid = hasPriVarsSwitch<Variables>>
template<class SolutionVector>
◆ invoke()
template<class Variables, bool isValid = hasPriVarsSwitch<Variables>>
template<class SolutionVector>
◆ switched()
template<class Variables, bool isValid = hasPriVarsSwitch<Variables>>
The documentation for this class was generated from the following file: