Skip to content
Snippets Groups Projects
Commit 59dd0d27 authored by Timo Koch's avatar Timo Koch
Browse files

Merge branch 'feature/make-noprivarswitch-compatible' into 'master'

[privarswitch] make noprivarswitch compatible

See merge request !1085
parents 1ac11acd b7f0da52
No related branches found
No related tags found
1 merge request!1085[privarswitch] make noprivarswitch compatible
...@@ -38,13 +38,15 @@ namespace Dumux { ...@@ -38,13 +38,15 @@ namespace Dumux {
class NoPrimaryVariableSwitch class NoPrimaryVariableSwitch
{ {
public: public:
NoPrimaryVariableSwitch(...) {} template<typename... Args>
void init(...) {} NoPrimaryVariableSwitch(Args&&...) {}
bool wasSwitched(...) const { return false; }
bool update(...) { return false; } template<typename... Args> void init(Args&&...) {}
void updateSwitchedVolVars(...) {} template<typename... Args> bool wasSwitched(Args&&...) const { return false; }
void updateSwitchedFluxVarsCache(...) {} template<typename... Args> bool update(Args&&...) { return false; }
bool update_(...) {return false; } template<typename... Args> void updateSwitchedVolVars(Args&&...) {}
template<typename... Args> void updateSwitchedFluxVarsCache(Args&&...) {}
template<typename... Args> bool update_(Args&&...) {return false; }
}; };
/*! /*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment