An adapter for the Newton to manage models with primary variable switch.
More...
#include <memory>
#include <dune/common/std/type_traits.hh>
#include <dumux/common/parameters.hh>
Go to the source code of this file.
|
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::PrimaryVariableSwitch = Dune::Std::detected_or_t< int, DetectPVSwitch, Variables > |
|
|
template<class Variables > |
constexpr bool | Dumux::hasPriVarsSwitch = Dune::Std::is_detected<Detail::DetectPVSwitch, Variables>() |
| Helper boolean to check if the given variables involve primary variable switching. More...
|
|