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

Switch from AmiraMesh to Gmsh for grid file input

Nobody uses Amira, so the AmiraMesh format is obsolete.

[[Imported from SVN: r10049]]
parent 3d2d86ed
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
#include <dune/grid/onedgrid.hh>
#include <dune/grid/utility/structuredgridfactory.hh>
#include <dune/grid/io/file/amirameshreader.hh>
#include <dune/grid/io/file/gmshreader.hh>
#include <dune/grid/io/file/vtk.hh>
#include <dune/fufem/boundarypatch.hh>
......@@ -116,7 +116,7 @@ int main (int argc, char *argv[]) try
std::string path = parameterSet.get<std::string>("path");
std::string gridFile = parameterSet.get<std::string>("gridFile");
grid = shared_ptr<GridType>(AmiraMeshReader<GridType>::read(path + "/" + 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