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
9dc50b73
Commit
9dc50b73
authored
Apr 08, 2020
by
Praetorius, Simon
Browse files
use explicit refinementIntervals in subsampling vtk writer
parent
b36ec724
Changes
1
Hide whitespace changes
Inline
Side-by-side
amdis/io/VTKWriter.hpp
View file @
9dc50b73
...
...
@@ -78,7 +78,7 @@ namespace AMDiS
auto
subSampling
=
Parameters
::
get
<
int
>
(
name
+
"->subsampling"
);
if
(
subSampling
)
{
using
SubsamplingWriter
=
Dune
::
SubsamplingVTKWriter
<
GridView
>
;
vtkWriter_
=
std
::
make_shared
<
SubsamplingWriter
>
(
gridView
,
subSampling
.
value
());
vtkWriter_
=
std
::
make_shared
<
SubsamplingWriter
>
(
gridView
,
Dune
::
refinementIntervals
(
subSampling
.
value
())
)
;
}
else
{
vtkWriter_
=
std
::
make_shared
<
Writer
>
(
gridView
);
}
...
...
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