Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
amdis
amdis-core
Commits
103e3026
Commit
103e3026
authored
Sep 06, 2020
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add preprocessor protection
parent
a2d00812
Pipeline
#4710
passed with stage
in 52 minutes and 50 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
amdis/MeshCreator.hpp
amdis/MeshCreator.hpp
+2
-0
No files found.
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
Markdown
is supported
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