Skip to content
Snippets Groups Projects
Commit f319e64b authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

don't forget the file path when reading a grid file from disk

[[Imported from SVN: r9276]]
parent cefb0b75
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ int main (int argc, char *argv[]) try
grid = StructuredGridFactory<GridType>::createCubeGrid(lower, upper, elements);
} else
grid = shared_ptr<GridType>(GmshReader<GridType>::read(gridFile));
grid = shared_ptr<GridType>(GmshReader<GridType>::read(path + "/" + gridFile));
grid->globalRefine(numLevels-1);
......
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