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

Add keyword parameter to python comparison & Use richards inifile in conservation of mass test

Signed-off-by: Santiago Ospina De Los Ríos's avatarSantiago Ospina <santiago.ospina@iup.uni-heidelberg.de>
parent 235e3d81
......@@ -23,7 +23,7 @@ def evaluate(iniinfo,runtime):
extensions = list(map(float,iniinfo["grid.extensions"].split()))
# get parameter data
param_data = read_yml(iniinfo["parameters.file"])
param_data = read_yml(iniinfo["richards.parameters.file"])
mapping_file = iniinfo["grid.mappingFile"]
# homogeneous setting
......
......@@ -69,7 +69,7 @@ int main (int argc, char** argv)
Dune::Dorie::GridCreator<Dune::UGGrid<2>> grid_creator(inifile, helper);
auto grid_mapper = grid_creator.get_mapper();
TestSim sim(inifile, grid_mapper, helper);
TestSim sim(richards_config, grid_mapper, helper);
sim.set_policy(adapt_policy);
result = sim.run_test();
......@@ -79,7 +79,7 @@ int main (int argc, char** argv)
Dune::Dorie::GridCreator<Dune::YaspGrid<2>> grid_creator(inifile, helper);
auto grid_mapper = grid_creator.get_mapper();
TestSim sim(inifile, grid_mapper, helper);
TestSim sim(richards_config, grid_mapper, helper);
result = sim.run_test();
}
}
......@@ -89,7 +89,7 @@ int main (int argc, char** argv)
Dune::Dorie::GridCreator<Dune::UGGrid<2>> grid_creator(inifile, helper);
auto grid_mapper = grid_creator.get_mapper();
TestSim sim(inifile, grid_mapper, helper);
TestSim sim(richards_config, grid_mapper, helper);
sim.set_policy(adapt_policy);
result = sim.run_test();
}
......
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