Skip to content
Snippets Groups Projects
Commit c29da767 authored by Elias Pipping's avatar Elias Pipping
Browse files

[Extern] Adjust to upstream changes

parent dee660a8
No related branches found
No related tags found
No related merge requests found
......@@ -67,22 +67,7 @@ Config::PatchType StringToEnum<Config::PatchType>::convert(
DUNE_THROW(Dune::Exception, "failed to parse enum");
}
Solver::VerbosityMode StringToEnum<Solver::VerbosityMode>::convert(
std::string const &s) {
if (s == "full")
return Solver::FULL;
if (s == "reduced")
return Solver::REDUCED;
if (s == "quiet")
return Solver::QUIET;
DUNE_THROW(Dune::Exception, "failed to parse enum");
}
template std::istream &operator>>(std::istream &lhs, Config::FrictionModel &);
template std::istream &operator>>(std::istream &lhs, Config::stateModel &);
template std::istream &operator>>(std::istream &lhs, Config::scheme &);
template std::istream &operator>>(std::istream &lhs, Config::PatchType &);
template std::istream &operator>>(std::istream &lhs, Solver::VerbosityMode &);
......@@ -27,10 +27,6 @@ template <> struct StringToEnum<Config::PatchType> {
static Config::PatchType convert(std::string const &s);
};
template <> struct StringToEnum<Solver::VerbosityMode> {
static Solver::VerbosityMode convert(std::string const &s);
};
template <class Enum>
typename Dune::enable_if<
!Dune::IsBaseOf<Dune::NotImplemented, StringToEnum<Enum>>::value,
......
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