An adapter for the Newton to manage models with primary variable switch. More...
#include <dumux/nonlinear/primaryvariableswitchadapter.hh>
An adapter for the Newton to manage models with primary variable switch.
Public Member Functions | |
PrimaryVariableSwitchAdapter (const std::string ¶mGroup="") | |
template<class SolutionVector > | |
void | initialize (SolutionVector &sol, Variables &vars) |
Initialize the privar switch. More... | |
template<class SolutionVector > | |
void | invoke (SolutionVector &uCurrentIter, Variables &vars) |
Switch primary variables if necessary. More... | |
bool | switched () const |
Whether the primary variables have been switched in the last call to invoke. More... | |
|
inline |
|
inline |
Initialize the privar switch.
|
inline |
Switch primary variables if necessary.
|
inline |
Whether the primary variables have been switched in the last call to invoke.