Commit 283d3a7e authored by Lukas Riedel's avatar Lukas Riedel

Merge initialization of local operators, add log message

parent b4f7935e
...@@ -58,6 +58,8 @@ RichardsSimulation<Traits>::RichardsSimulation ( ...@@ -58,6 +58,8 @@ RichardsSimulation<Traits>::RichardsSimulation (
// --- Local Operators --- // --- Local Operators ---
if constexpr (order>0) if constexpr (order>0)
{ {
this->_log->debug("Setting up local grid operators: DG method");
#ifdef EXPERIMENTAL_DG_FEATURES #ifdef EXPERIMENTAL_DG_FEATURES
// read experimental settings from inifile // read experimental settings from inifile
namespace OP = Dune::Dorie::Operator; namespace OP = Dune::Dorie::Operator;
...@@ -71,14 +73,14 @@ RichardsSimulation<Traits>::RichardsSimulation ( ...@@ -71,14 +73,14 @@ RichardsSimulation<Traits>::RichardsSimulation (
#else #else
slop = std::make_unique<SLOP>(inifile, fparam, fboundary, fsource); slop = std::make_unique<SLOP>(inifile, fparam, fboundary, fsource);
#endif // EXPERIMENTAL_DG_FEATURES #endif // EXPERIMENTAL_DG_FEATURES
} else {
slop = std::make_unique<SLOP>(fparam, fboundary);
}
if constexpr (order>0)
tlop = std::make_unique<TLOP>(inifile, fparam); tlop = std::make_unique<TLOP>(inifile, fparam);
else }
else {
this->_log->debug("Setting up local grid operators: FV method");
slop = std::make_unique<SLOP>(fparam, fboundary);
tlop = std::make_unique<TLOP>(fparam); tlop = std::make_unique<TLOP>(fparam);
}
controller = std::make_unique<CalculationController>( controller = std::make_unique<CalculationController>(
inifile, *fboundary, this->_log); inifile, *fboundary, this->_log);
......
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