Skip to content
Snippets Groups Projects
Commit a3d5f235 authored by Dr. Jorrit Fahlke's avatar Dr. Jorrit Fahlke
Browse files

Merge branch 'fix-grid-reader-config-key-name' into 'master'

Fix config key name for grid reader type

See merge request jfahl_01/pacxx-projectseminar-2019!7
parents fe25e00e 5021f6f0
No related branches found
No related tags found
1 merge request!7Fix config key name for grid reader type
Pipeline #19445 passed
......@@ -44,7 +44,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