...
 
Commits (2)
......@@ -95,7 +95,6 @@ namespace duneuro
DUNE_THROW(Dune::Exception, "unknown element type \"" << elementType << "\"");
}
} else if (solverType == "dg") {
DUNE_THROW(Dune::Exception, "Configuration not valid.");
if (elementType == "tetrahedron") {
return Dune::Std::make_unique<FittedMEEGDriver<2, ElementType::tetrahedron,
FittedSolverType::dg, 1>>(
......@@ -123,7 +122,6 @@ namespace duneuro
}
#if HAVE_DUNE_UDG
} else if (type == "unfitted") {
DUNE_THROW(Dune::Exception, "Configuration not valid.");
auto solverType = config.get<std::string>("solver_type");
if (solverType == "udg") {
auto compartments = config.get<unsigned int>("compartments");
......@@ -213,7 +211,6 @@ namespace duneuro
DUNE_THROW(Dune::Exception, "unknown element type \"" << elementType << "\"");
}
} else if (solverType == "dg") {
DUNE_THROW(Dune::Exception, "Configuration not valid.");
if (elementType == "tetrahedron") {
return Dune::Std::make_unique<FittedMEEGDriver<3, ElementType::tetrahedron,
FittedSolverType::dg, 1>>(
......@@ -241,7 +238,6 @@ namespace duneuro
}
#if HAVE_DUNE_UDG
} else if (type == "unfitted") {
DUNE_THROW(Dune::Exception, "Configuration not valid.");
auto solverType = config.get<std::string>("solver_type");
if (solverType == "udg") {
auto compartments = config.get<unsigned int>("compartments");
......