Skip to content
Snippets Groups Projects
Commit dc3e24a3 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Follow dune-grid's drop of type VTKFunctionPtr.

parent 33f1358e
No related branches found
No related tags found
2 merge requests!31Feature/colebrookwhiteboundarylayer,!8Follow dunegrid30 changes
...@@ -23,6 +23,12 @@ ...@@ -23,6 +23,12 @@
#ifndef VTK_MULTI_WRITER_HH #ifndef VTK_MULTI_WRITER_HH
#define VTK_MULTI_WRITER_HH #define VTK_MULTI_WRITER_HH
#include <iostream>
#include <limits>
#include <list>
#include <memory>
#include <string>
#include "vtknestedfunction.hh" #include "vtknestedfunction.hh"
#include <dune/common/fvector.hh> #include <dune/common/fvector.hh>
...@@ -36,12 +42,6 @@ ...@@ -36,12 +42,6 @@
#include <mpi.h> #include <mpi.h>
#endif #endif
#include <list>
#include <iostream>
#include <string>
#include <limits>
namespace Dumux { namespace Dumux {
/*! /*!
* \brief Simplifies writing multi-file VTK datasets. * \brief Simplifies writing multi-file VTK datasets.
...@@ -177,7 +177,7 @@ public: ...@@ -177,7 +177,7 @@ public:
{ {
sanitizeBuffer_(buf, nComps); sanitizeBuffer_(buf, nComps);
typedef typename VtkWriter::VTKFunctionPtr FunctionPtr; using FunctionPtr = std::shared_ptr<const typename VtkWriter::VTKFunction>;
typedef Dumux::VtkNestedFunction<GridView, VertexMapper, DataBuffer> VtkFn; typedef Dumux::VtkNestedFunction<GridView, VertexMapper, DataBuffer> VtkFn;
FunctionPtr fnPtr(new VtkFn(name, FunctionPtr fnPtr(new VtkFn(name,
gridView_, gridView_,
...@@ -208,7 +208,7 @@ public: ...@@ -208,7 +208,7 @@ public:
{ {
sanitizeBuffer_(buf, nComps); sanitizeBuffer_(buf, nComps);
typedef typename VtkWriter::VTKFunctionPtr FunctionPtr; using FunctionPtr = std::shared_ptr<const typename VtkWriter::VTKFunction>;
typedef Dumux::VtkNestedFunction<GridView, ElementMapper, DataBuffer> VtkFn; typedef Dumux::VtkNestedFunction<GridView, ElementMapper, DataBuffer> VtkFn;
FunctionPtr fnPtr(new VtkFn(name, FunctionPtr fnPtr(new VtkFn(name,
gridView_, gridView_,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment