Commit a72229fb authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

cleanup whitspaces and naming of writer classes

parent 1334467e
......@@ -54,7 +54,7 @@ void VtkTimeseriesWriter<W>
filenameBase = tmp.string() + "_p" + std::to_string(vtkWriter_.comm().rank());
if (!initialized_) {
Vtk::create_directories(tmpBase);
Vtk::createDirectories(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_filename();
p.removeFilename();
Vtk::Path fn_dir = p;
Vtk::Path data_dir = dir ? Vtk::Path(*dir) : fn_dir;
......
#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/vtkimagedatawriter.hh>
#include <dune/vtk/writers/vtkrectilineargridwriter.hh>
#include <dune/vtk/writers/vtkstructuredgridwriter.hh>
#include <dune/vtk/writers/vtkunstructuredgridwriter.hh>
#if HAVE_DUNE_SPGRID
#include <dune/grid/spgrid.hh>
......
......@@ -247,4 +247,4 @@ namespace Dune
} // end namespace Dune
#include "writerinterface.impl.hh"
#include "vtkwriterinterface.impl.hh"
......@@ -30,7 +30,7 @@ std::string VtkWriterInterface<GV,DC>
auto p = Vtk::Path(fn);
auto name = p.stem();
p.remove_filename();
p.removeFilename();
Vtk::Path fn_dir = p;
Vtk::Path data_dir = dir ? Vtk::Path(*dir) : fn_dir;
......
......@@ -8,4 +8,4 @@ install(FILES
vtkstructuredgridwriter.impl.hh
vtkunstructuredgridwriter.hh
vtkunstructuredgridwriter.impl.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/vtkwriter/writers)
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/vtk/writers)
......@@ -10,7 +10,7 @@
#include <dune/vtk/types.hh>
#include <dune/vtk/datacollectors/structureddatacollector.hh>
#include <dune/vtk/writerinterface.hh>
#include <dune/vtk/vtkwriterinterface.hh>
namespace Dune
{
......@@ -76,4 +76,4 @@ namespace Dune
} // end namespace Dune
#include "imagedatawriter.impl.hh"
#include "vtkimagedatawriter.impl.hh"
......@@ -10,7 +10,7 @@
#include <dune/vtk/types.hh>
#include <dune/vtk/datacollectors/structureddatacollector.hh>
#include <dune/vtk/writerinterface.hh>
#include <dune/vtk/vtkwriterinterface.hh>
namespace Dune
{
......@@ -82,4 +82,4 @@ namespace Dune
} // end namespace Dune
#include "rectilineargridwriter.impl.hh"
#include "vtkrectilineargridwriter.impl.hh"
......@@ -10,7 +10,7 @@
#include <dune/vtk/types.hh>
#include <dune/vtk/datacollectors/structureddatacollector.hh>
#include <dune/vtk/writerinterface.hh>
#include <dune/vtk/vtkwriterinterface.hh>
namespace Dune
{
......@@ -76,4 +76,4 @@ namespace Dune
} // end namespace Dune
#include "structuredgridwriter.impl.hh"
#include "vtkstructuredgridwriter.impl.hh"
......@@ -10,7 +10,7 @@
#include <dune/vtk/types.hh>
#include <dune/vtk/datacollectors/continuousdatacollector.hh>
#include <dune/vtk/writerinterface.hh>
#include <dune/vtk/vtkwriterinterface.hh>
namespace Dune
{
......@@ -108,4 +108,4 @@ namespace Dune
} // end namespace Dune
#include "unstructuredgridwriter.impl.hh"
#include "vtkunstructuredgridwriter.impl.hh"
......@@ -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/vtkunstructuredgridwriter.hh>
using namespace Dune;
......
......@@ -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/vtkunstructuredgridwriter.hh>
#include <dune/vtk/datacollectors/continuousdatacollector.hh>
#include <dune/vtk/datacollectors/discontinuousdatacollector.hh>
......
......@@ -15,7 +15,7 @@
#include <dune/grid/yaspgrid.hh>
#include <dune/grid/geometrygrid.hh>
#include <dune/vtk/writer.hh>
#include <dune/vtk/vtkwriter.hh>
using namespace Dune;
using namespace Dune::Functions;
......
......@@ -19,10 +19,10 @@
#include <dune/geometry/multilineargeometry.hh>
#include <dune/grid/utility/structuredgridfactory.hh>
#include <dune/vtk/reader.hh>
#include <dune/vtk/vtkreader.hh>
#include <dune/vtk/datacollectors/lagrangedatacollector.hh>
#include <dune/vtk/gridcreators/lagrangegridcreator.hh>
#include <dune/vtk/writers/unstructuredgridwriter.hh>
#include <dune/vtk/writers/vtkunstructuredgridwriter.hh>
using namespace Dune;
......
......@@ -15,7 +15,7 @@
#include <dune/grid/uggrid.hh>
#include <dune/grid/yaspgrid.hh>
#include <dune/vtk/writers/unstructuredgridwriter.hh>
#include <dune/vtk/writers/vtkunstructuredgridwriter.hh>
#include <dune/vtk/legacyvtkfunction.hh>
using namespace Dune;
......
......@@ -16,7 +16,7 @@
#include <dune/polygongrid/gridfactory.hh>
#include <dune/vtk/legacyvtkfunction.hh>
#include <dune/vtk/writers/unstructuredgridwriter.hh>
#include <dune/vtk/writers/vtkunstructuredgridwriter.hh>
using namespace Dune;
......
......@@ -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/vtkunstructuredgridwriter.hh>
using namespace Dune;
using namespace Dune::Functions;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment