Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
103e3026
Commit
103e3026
authored
Sep 06, 2020
by
Praetorius, Simon
Browse files
add preprocessor protection
parent
a2d00812
Changes
1
Hide whitespace changes
Inline
Side-by-side
amdis/MeshCreator.hpp
View file @
103e3026
...
...
@@ -185,9 +185,11 @@ namespace AMDiS
return
read_gmsh_file
<
HostGrid
>
(
filename
,
Dune
::
PriorityTag
<
42
>
{});
#endif
}
#if HAVE_DUNE_VTK
else
if
(
ext
==
".vtu"
)
{
return
Dune
::
VtkReader
<
HostGrid
,
Dune
::
Vtk
::
LagrangeGridCreator
<
HostGrid
>>::
createGridFromFile
(
filename
);
}
#endif
else
if
(
ext
==
".1d"
||
ext
==
".2d"
||
ext
==
".3d"
||
ext
==
".amc"
)
{
return
read_alberta_file
<
HostGrid
>
(
filename
,
Dune
::
PriorityTag
<
42
>
{});
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment