Liebe Gitlab-Nutzer, lieber Gitlab-Nutzer, es ist nun möglich sich mittels des ZIH-Logins/LDAP an unserem Dienst anzumelden. Ein Anmelden über dieses erzeugt ein neues Konto. Das alte Konto ist über den Reiter "Standard" erreichbar. Die Administratoren

Dear Gitlab user, it is now possible to log in to our service using the ZIH login/LDAP. Logging in via this will create a new account. The old account can be accessed via the "Standard" tab. The administrators

Commit 103e3026 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

add preprocessor protection

parent a2d00812
Pipeline #4710 passed with stage
in 52 minutes and 50 seconds
...@@ -185,9 +185,11 @@ namespace AMDiS ...@@ -185,9 +185,11 @@ namespace AMDiS
return read_gmsh_file<HostGrid>(filename, Dune::PriorityTag<42>{}); return read_gmsh_file<HostGrid>(filename, Dune::PriorityTag<42>{});
#endif #endif
} }
#if HAVE_DUNE_VTK
else if (ext == ".vtu") { else if (ext == ".vtu") {
return Dune::VtkReader<HostGrid, Dune::Vtk::LagrangeGridCreator<HostGrid>>::createGridFromFile(filename); return Dune::VtkReader<HostGrid, Dune::Vtk::LagrangeGridCreator<HostGrid>>::createGridFromFile(filename);
} }
#endif
else if (ext == ".1d" || ext == ".2d" || ext == ".3d" || ext == ".amc") { else if (ext == ".1d" || ext == ".2d" || ext == ".3d" || ext == ".amc") {
return read_alberta_file<HostGrid>(filename, Dune::PriorityTag<42>{}); return read_alberta_file<HostGrid>(filename, Dune::PriorityTag<42>{});
} }
......
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