An adapter for the Newton to manage models with primary variable switch. More...
Go to the source code of this file.
An adapter for the Newton to manage models with primary variable switch.
Classes | |
class | Dumux::PrimaryVariableSwitchAdapter< Variables, isValid > |
An adapter for the Newton to manage models with primary variable switch. More... | |
class | Dumux::PrimaryVariableSwitchAdapter< Variables, false > |
An empty adapter for the Newton for models without primary variable switch. More... | |
Namespaces | |
namespace | Dumux |
namespace | Dumux::Detail |
Typedefs | |
template<class Variables > | |
using | Dumux::Detail::DetectPVSwitch = typename Variables::VolumeVariables::PrimaryVariableSwitch |
helper aliases to extract a primary variable switch from the VolumeVariables (if defined, yields int otherwise) More... | |
template<class Variables > | |
using | Dumux::Detail::GetPVSwitch = Dune::Std::detected_or< int, DetectPVSwitch, Variables > |
template<class Variables > | |
using | Dumux::Detail::PrimaryVariableSwitch = typename GetPVSwitch< Variables >::type |
Variables | |
template<class Variables > | |
constexpr bool | Dumux::hasPriVarsSwitch = typename Detail::GetPVSwitch<Variables>::value_t() |
Helper boolean to check if the given variables involve primary variable switching. More... | |