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
iwr
dune-vtk
Commits
a72229fb
Commit
a72229fb
authored
Aug 17, 2020
by
Praetorius, Simon
Browse files
cleanup whitspaces and naming of writer classes
parent
1334467e
Changes
68
Hide whitespace changes
Inline
Side-by-side
dune/vtk/timeserieswriter.impl.hh
→
dune/vtk/
vtk
timeserieswriter.impl.hh
View file @
a72229fb
...
...
@@ -54,7 +54,7 @@ void VtkTimeseriesWriter<W>
filenameBase
=
tmp
.
string
()
+
"_p"
+
std
::
to_string
(
vtkWriter_
.
comm
().
rank
());
if
(
!
initialized_
)
{
Vtk
::
create
_d
irectories
(
tmpBase
);
Vtk
::
create
D
irectories
(
tmpBase
);
// write points and cells only once
filenameMesh_
=
filenameBase
+
".mesh.vtkdata"
;
...
...
@@ -81,7 +81,7 @@ std::string VtkTimeseriesWriter<W>
auto
p
=
Vtk
::
Path
(
fn
);
auto
name
=
p
.
stem
();
p
.
remove
_f
ilename
();
p
.
remove
F
ilename
();
Vtk
::
Path
fn_dir
=
p
;
Vtk
::
Path
data_dir
=
dir
?
Vtk
::
Path
(
*
dir
)
:
fn_dir
;
...
...
dune/vtk/writer.hh
→
dune/vtk/
vtk
writer.hh
View file @
a72229fb
#pragma once
#include
<dune/vtk/writers/imagedatawriter.hh>
#include
<dune/vtk/writers/rectilineargridwriter.hh>
#include
<dune/vtk/writers/structuredgridwriter.hh>
#include
<dune/vtk/writers/unstructuredgridwriter.hh>
#include
<dune/vtk/writers/
vtk
imagedatawriter.hh>
#include
<dune/vtk/writers/
vtk
rectilineargridwriter.hh>
#include
<dune/vtk/writers/
vtk
structuredgridwriter.hh>
#include
<dune/vtk/writers/
vtk
unstructuredgridwriter.hh>
#if HAVE_DUNE_SPGRID
#include
<dune/grid/spgrid.hh>
...
...
dune/vtk/writerinterface.hh
→
dune/vtk/
vtk
writerinterface.hh
View file @
a72229fb
...
...
@@ -247,4 +247,4 @@ namespace Dune
}
// end namespace Dune
#include
"writerinterface.impl.hh"
#include
"
vtk
writerinterface.impl.hh"
dune/vtk/writerinterface.impl.hh
→
dune/vtk/
vtk
writerinterface.impl.hh
View file @
a72229fb
...
...
@@ -30,7 +30,7 @@ std::string VtkWriterInterface<GV,DC>
auto
p
=
Vtk
::
Path
(
fn
);
auto
name
=
p
.
stem
();
p
.
remove
_f
ilename
();
p
.
remove
F
ilename
();
Vtk
::
Path
fn_dir
=
p
;
Vtk
::
Path
data_dir
=
dir
?
Vtk
::
Path
(
*
dir
)
:
fn_dir
;
...
...
dune/vtk/writers/CMakeLists.txt
View file @
a72229fb
...
...
@@ -8,4 +8,4 @@ install(FILES
vtkstructuredgridwriter.impl.hh
vtkunstructuredgridwriter.hh
vtkunstructuredgridwriter.impl.hh
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/dune/vtk
writer
/writers
)
DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/dune/vtk/writers
)
dune/vtk/writers/imagedatawriter.hh
→
dune/vtk/writers/
vtk
imagedatawriter.hh
View file @
a72229fb
...
...
@@ -10,7 +10,7 @@
#include
<dune/vtk/types.hh>
#include
<dune/vtk/datacollectors/structureddatacollector.hh>
#include
<dune/vtk/writerinterface.hh>
#include
<dune/vtk/
vtk
writerinterface.hh>
namespace
Dune
{
...
...
@@ -76,4 +76,4 @@ namespace Dune
}
// end namespace Dune
#include
"imagedatawriter.impl.hh"
#include
"
vtk
imagedatawriter.impl.hh"
dune/vtk/writers/imagedatawriter.impl.hh
→
dune/vtk/writers/
vtk
imagedatawriter.impl.hh
View file @
a72229fb
File moved
dune/vtk/writers/rectilineargridwriter.hh
→
dune/vtk/writers/
vtk
rectilineargridwriter.hh
View file @
a72229fb
...
...
@@ -10,7 +10,7 @@
#include
<dune/vtk/types.hh>
#include
<dune/vtk/datacollectors/structureddatacollector.hh>
#include
<dune/vtk/writerinterface.hh>
#include
<dune/vtk/
vtk
writerinterface.hh>
namespace
Dune
{
...
...
@@ -82,4 +82,4 @@ namespace Dune
}
// end namespace Dune
#include
"rectilineargridwriter.impl.hh"
#include
"
vtk
rectilineargridwriter.impl.hh"
dune/vtk/writers/rectilineargridwriter.impl.hh
→
dune/vtk/writers/
vtk
rectilineargridwriter.impl.hh
View file @
a72229fb
File moved
dune/vtk/writers/structuredgridwriter.hh
→
dune/vtk/writers/
vtk
structuredgridwriter.hh
View file @
a72229fb
...
...
@@ -10,7 +10,7 @@
#include
<dune/vtk/types.hh>
#include
<dune/vtk/datacollectors/structureddatacollector.hh>
#include
<dune/vtk/writerinterface.hh>
#include
<dune/vtk/
vtk
writerinterface.hh>
namespace
Dune
{
...
...
@@ -76,4 +76,4 @@ namespace Dune
}
// end namespace Dune
#include
"structuredgridwriter.impl.hh"
#include
"
vtk
structuredgridwriter.impl.hh"
dune/vtk/writers/structuredgridwriter.impl.hh
→
dune/vtk/writers/
vtk
structuredgridwriter.impl.hh
View file @
a72229fb
File moved
dune/vtk/writers/unstructuredgridwriter.hh
→
dune/vtk/writers/
vtk
unstructuredgridwriter.hh
View file @
a72229fb
...
...
@@ -10,7 +10,7 @@
#include
<dune/vtk/types.hh>
#include
<dune/vtk/datacollectors/continuousdatacollector.hh>
#include
<dune/vtk/writerinterface.hh>
#include
<dune/vtk/
vtk
writerinterface.hh>
namespace
Dune
{
...
...
@@ -108,4 +108,4 @@ namespace Dune
}
// end namespace Dune
#include
"unstructuredgridwriter.impl.hh"
#include
"
vtk
unstructuredgridwriter.impl.hh"
dune/vtk/writers/unstructuredgridwriter.impl.hh
→
dune/vtk/writers/
vtk
unstructuredgridwriter.impl.hh
View file @
a72229fb
File moved
src/benchmark.cc
View file @
a72229fb
...
...
@@ -18,7 +18,7 @@
#include
<dune/grid/io/file/vtk.hh>
#include
<dune/grid/utility/structuredgridfactory.hh>
#include
<dune/vtk/writers/unstructuredgridwriter.hh>
#include
<dune/vtk/writers/
vtk
unstructuredgridwriter.hh>
using
namespace
Dune
;
...
...
src/datacollector.cc
View file @
a72229fb
...
...
@@ -26,7 +26,7 @@
#include
<dune/grid/yaspgrid.hh>
#include
<dune/grid/utility/structuredgridfactory.hh>
#include
<dune/vtk/writers/unstructuredgridwriter.hh>
#include
<dune/vtk/writers/
vtk
unstructuredgridwriter.hh>
#include
<dune/vtk/datacollectors/continuousdatacollector.hh>
#include
<dune/vtk/datacollectors/discontinuousdatacollector.hh>
...
...
src/geometrygrid.cc
View file @
a72229fb
...
...
@@ -15,7 +15,7 @@
#include
<dune/grid/yaspgrid.hh>
#include
<dune/grid/geometrygrid.hh>
#include
<dune/vtk/writer.hh>
#include
<dune/vtk/
vtk
writer.hh>
using
namespace
Dune
;
using
namespace
Dune
::
Functions
;
...
...
src/lagrangereader.cc
View file @
a72229fb
...
...
@@ -19,10 +19,10 @@
#include
<dune/geometry/multilineargeometry.hh>
#include
<dune/grid/utility/structuredgridfactory.hh>
#include
<dune/vtk/reader.hh>
#include
<dune/vtk/
vtk
reader.hh>
#include
<dune/vtk/datacollectors/lagrangedatacollector.hh>
#include
<dune/vtk/gridcreators/lagrangegridcreator.hh>
#include
<dune/vtk/writers/unstructuredgridwriter.hh>
#include
<dune/vtk/writers/
vtk
unstructuredgridwriter.hh>
using
namespace
Dune
;
...
...
src/legacyvtkwriter.cc
View file @
a72229fb
...
...
@@ -15,7 +15,7 @@
#include
<dune/grid/uggrid.hh>
#include
<dune/grid/yaspgrid.hh>
#include
<dune/vtk/writers/unstructuredgridwriter.hh>
#include
<dune/vtk/writers/
vtk
unstructuredgridwriter.hh>
#include
<dune/vtk/legacyvtkfunction.hh>
using
namespace
Dune
;
...
...
src/polygongrid.cc
View file @
a72229fb
...
...
@@ -16,7 +16,7 @@
#include
<dune/polygongrid/gridfactory.hh>
#include
<dune/vtk/legacyvtkfunction.hh>
#include
<dune/vtk/writers/unstructuredgridwriter.hh>
#include
<dune/vtk/writers/
vtk
unstructuredgridwriter.hh>
using
namespace
Dune
;
...
...
src/pvdwriter.cc
View file @
a72229fb
...
...
@@ -14,7 +14,7 @@
#include
<dune/functions/gridfunctions/analyticgridviewfunction.hh>
#include
<dune/grid/yaspgrid.hh>
#include
<dune/vtk/pvdwriter.hh>
#include
<dune/vtk/writers/unstructuredgridwriter.hh>
#include
<dune/vtk/writers/
vtk
unstructuredgridwriter.hh>
using
namespace
Dune
;
using
namespace
Dune
::
Functions
;
...
...
Prev
1
2
3
4
Next
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