Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dorie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
31
Issues
31
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
dorie
dorie
Commits
4fcc415b
Commit
4fcc415b
authored
Jul 26, 2018
by
Lukas Riedel
🛀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SubsamplingVTKWriter to OutputWriter.
Subsampling level is read from the config file and defaults to 0.
parent
a6b89056
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
dune/dorie/interface/output.hh
dune/dorie/interface/output.hh
+6
-3
No files found.
dune/dorie/interface/output.hh
View file @
4fcc415b
...
...
@@ -9,6 +9,7 @@
#include <dune/common/parametertree.hh>
#include <dune/grid/io/file/vtk/vtksequencewriter.hh>
#include <dune/grid/io/file/vtk/subsamplingvtkwriter.hh>
#include <dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh>
...
...
@@ -46,6 +47,7 @@ private:
using
GV
=
typename
Traits
::
GV
;
using
VTKWriter
=
Dune
::
VTKSequenceWriter
<
GV
>
;
using
SubVTK
=
Dune
::
SubsamplingVTKWriter
<
GV
>
;
using
UDGF
=
Dune
::
PDELab
::
DiscreteGridFunction
<
GFS
,
U
>
;
using
FluxDGF
=
Dune
::
Dorie
::
GradientFluxAdapter
<
GFS
,
U
,
Param
>
;
using
ConDGF
=
Dune
::
Dorie
::
ConductivityAdapter
<
Traits
,
Param
>
;
...
...
@@ -72,11 +74,12 @@ public:
*/
OutputWriter
(
Dune
::
ParameterTree
&
_inifile
,
GV
&
gv
,
GFS
&
gfs
,
Param
&
param
,
U
&
unew
)
:
OutputWriterBase
<
Traits
>
(),
vtkwriter
(
gv
,
vtkwriter
(
std
::
make_shared
<
SubVTK
>
(
gv
,
Dune
::
refinementLevels
(
_inifile
.
get
<
int
>
(
"output.subsamplingLevel"
,
0
))),
_inifile
.
get
<
std
::
string
>
(
"output.fileName"
),
_inifile
.
get
<
std
::
string
>
(
"output.outputPath"
),
"./"
,
Dune
::
VTK
::
nonconforming
),
"./"
),
udgf
(
gfs
,
unew
),
fluxdgf
(
gfs
,
unew
,
param
,
udgf
),
condgf
(
gv
,
param
),
...
...
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