Skip to content
Snippets Groups Projects
Commit 5021f6f0 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

Fix config key name for grid reader type

parent 5b81654f
No related branches found
No related tags found
1 merge request!7Fix config key name for grid reader type
Pipeline #19443 passed
......@@ -40,7 +40,7 @@ int main(int argc, char** argv)
const int dim = 2;
// const int dim = ptree.get<int>("grid.dim");
const int refinement = ptree.get<int>("grid.refinement");
std::string gridtype = ptree.get("grid.type","structured");
std::string gridtype = ptree.get("grid.reader","structured");
typedef Dune::UGGrid<dim> Grid;
typedef Grid::ctype DF;
std::shared_ptr<Grid> gridp;
......
[grid]
manager=structured # set to structured | msh
reader=structured # set to structured | msh
refinement=2 # be careful
[grid.structured]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment