Commit 46a38d8f authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

updated configmap name2

parent a6bc46f6
......@@ -9,7 +9,7 @@ protected:
void SetUp() override {
ConfigMapForTest configMapForTest;
std::map<std::string, std::string> finalMap = configMapForTest.defaultConfigMap;
std::map<std::string, std::string> finalMap = configMapForTest.defaultEllipticConfigMap;
std::map<std::string, std::string> additionalMap = GetParam().additionalConfigMap;
for (auto &pair: additionalMap)
......
......@@ -8,7 +8,7 @@
struct ConfigMapForTest {
std::map<std::string, std::string> additionalConfigMap;
const std::map<std::string, std::string> defaultConfigMap = {
const std::map<std::string, std::string> defaultEllipticConfigMap = {
// ----- Problem Settings -----
{"Experiment", "MLMCExperiment"},
{"Problem", "StochasticLaplace1D"},
......@@ -62,6 +62,73 @@ struct ConfigMapForTest {
{"MuteLevel", "-1"},
{"DebugLevel", "-1"},
};
const std::map<std::string, std::string> defaultTransportConfigMap = {
// ----- Problem Settings -----
{"Experiment", "MLMCExperiment"},
{"Problem", "StochasticPollution1D"},
{"Model", "DGTransport"},
{"Functional", "Mass"},
{"Overlap", "dG1"},
{"flux_alpha", "1"},
{"degree", "2"},
{"plevel", "2"},
// ----- Time Series -----
{"TimeSeries", "uniform"},
{"rkorder", "-2"},
{"startTime", " 0.0"},
{"endTime", "1.0 "},
{"scaling", "8"},
{"Kmax", "250"},
{"gamma", "0.01"},
{"Keps", "1e-5"},
// ----- Multilevel Monte Carlo -----
{"maxLevel", "7"},
{"epsilon", "0.01"},
{"mcOnly", "false"},
{"uniformSampleAmount", "100"},
{"initLevels", "[4, 5, 6]"},
{"initSampleAmount", "[8, 4, 2]"},
// ----- Stochastic Field -----
{"StochasticField", "LogNormal"},
{"mean", "1.0"},
{"sigma", "1.0"},
{"norm_p", "2"},
{"lambda1", "0.10"},
{"lambda2", "0.10"},
{"smoothing", "1.9"},
{"evtol", "1e-10"},
// ----- Solver -----
{"LinearReduction", "1e-12"},
{"LinearEpsilon", "1e-10"},
{"LinearSteps", "3000"},
{"NewtonSteps", "1"},
{"NewtonLineSearchSteps", "0"},
// ----- Plotting -----
{"GeneratorPlotting", "-1"},
{"MCPlotting", "-1"},
// ----- Verbose ----- // Todo einfach größer null
{"MCVerbose", "1"},
{"PDEVerbose", "0"},
{"MLMCVerbose", "1"},
{"MainVerbose", "1"},
{"MeshVerbose", "0"},
{"ConfigVerbose", "0"},
{"LinearVerbose", "-1"}, // Todo 0 should be mute
{"NewtonVerbose", "-1"}, // Todo 0 should be mute
{"GeneratorVerbose", "0"},
// ----- Logging -----
{"TimeLevel", "-1"}, // Todo einfach größer null
{"MuteLevel", "-1"},
{"DebugLevel", "-1"},
};
};
#endif //TESTMAINPROGRAM_HPP
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