Commit 79b12016 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos 🇨🇴

Update new folder name in tests

Signed-off-by: Santiago Ospina De Los Ríos's avatarSantiago Ospina <santiago.ospina@iup.uni-heidelberg.de>
parent cae5d965
......@@ -62,16 +62,13 @@ int main (int argc, char** argv)
// double result {0.0};
const std::string adapt_policy_str = inifile.get<std::string>("adaptivity.policy");
Dune::Dorie::AdaptivityPolicy adapt_policy;
if (adapt_policy_str == "none")
Dune::Dorie::AdaptivityPolicy adapt_policy =
Dune::Dorie::AdaptivityPolicy::None;
else if (adapt_policy_str == "waterFlux") {
Dune::Dorie::AdaptivityPolicy adapt_policy = Dune::Dorie::AdaptivityPolicy::None;
if (adapt_policy_str == "waterFlux")
adapt_policy = Dune::Dorie::AdaptivityPolicy::WaterFlux;
} else {
else if (adapt_policy_str != "none")
DUNE_THROW(Dune::NotImplemented,"The adaptivity policy " <<
adapt_policy_str << " is not implemented!");
}
const auto grid_type = inifile.get<std::string>("grid.gridType");
if (grid_type == "rectangular") {
......
......@@ -10,7 +10,7 @@
#include <dune/common/float_cmp.hh>
#include <dune/dorie/model/richards/richards.cc>
#include <dune/dorie/model/richards/parametrization/mualem_van_genuchten.hh>
#include <dune/dorie/model/richards/parameterization/mualem_van_genuchten.hh>
namespace Dune {
namespace Dorie {
......
......@@ -57,16 +57,13 @@ int main (int argc, char** argv)
const std::string adapt_policy_str = inifile.get<std::string>("adaptivity.policy");
const auto grid_type = inifile.get<std::string>("grid.gridType");
Dune::Dorie::AdaptivityPolicy adapt_policy;
if (adapt_policy_str == "none")
Dune::Dorie::AdaptivityPolicy adapt_policy =
Dune::Dorie::AdaptivityPolicy::None;
else if (adapt_policy_str == "waterFlux") {
Dune::Dorie::AdaptivityPolicy adapt_policy = Dune::Dorie::AdaptivityPolicy::None;
if (adapt_policy_str == "waterFlux")
adapt_policy = Dune::Dorie::AdaptivityPolicy::WaterFlux;
} else {
else if (adapt_policy_str != "none")
DUNE_THROW(Dune::NotImplemented,"The adaptivity policy " <<
adapt_policy_str << " is not implemented!");
}
if (grid_type == "rectangular") {
if (adapt_policy != Dune::Dorie::AdaptivityPolicy::None) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment