Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
ed164c41
Commit
ed164c41
authored
7 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
§[vtk] Deprecate VTKMultiWriter
parent
6df37011
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!675
Feature/rename spatialparameter classes
,
!617
[WIP] Next
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dumux/io/vtkmultiwriter.hh
+9
-3
9 additions, 3 deletions
dumux/io/vtkmultiwriter.hh
with
9 additions
and
3 deletions
dumux/io/vtkmultiwriter.hh
+
9
−
3
View file @
ed164c41
...
@@ -23,6 +23,8 @@
...
@@ -23,6 +23,8 @@
#ifndef VTK_MULTI_WRITER_HH
#ifndef VTK_MULTI_WRITER_HH
#define VTK_MULTI_WRITER_HH
#define VTK_MULTI_WRITER_HH
#warning "This header is deprecated. Use the new vtkoutputmodule."
#include
<iostream>
#include
<iostream>
#include
<limits>
#include
<limits>
#include
<list>
#include
<list>
...
@@ -39,6 +41,7 @@
...
@@ -39,6 +41,7 @@
#include
<dumux/common/valgrind.hh>
#include
<dumux/common/valgrind.hh>
#include
<dune/common/version.hh>
#include
<dune/common/version.hh>
#include
<dune/common/deprecated.hh>
#if HAVE_MPI
#if HAVE_MPI
#include
<mpi.h>
#include
<mpi.h>
...
@@ -54,13 +57,16 @@ namespace Dumux {
...
@@ -54,13 +57,16 @@ namespace Dumux {
* \todo This class can most likely be replaced by Dune::VTKSequenceWriter
* \todo This class can most likely be replaced by Dune::VTKSequenceWriter
*/
*/
template
<
class
GridView
,
Dune
::
VTK
::
OutputType
OutputValue
=
Dune
::
VTK
::
ascii
>
template
<
class
GridView
,
Dune
::
VTK
::
OutputType
OutputValue
=
Dune
::
VTK
::
ascii
>
class
VtkMultiWriter
class
DUNE_DEPRECATED_MSG
(
"Use VtkOutputModule instead!"
)
VtkMultiWriter
{
{
enum
{
dim
=
GridView
::
dimension
};
enum
{
dim
=
GridView
::
dimension
};
#if DUNE_VERSION_NEWER(DUNE_COMMON,2,6)
typedef
Dune
::
MultipleCodimMultipleGeomTypeMapper
<
GridView
>
VertexMapper
;
typedef
Dune
::
MultipleCodimMultipleGeomTypeMapper
<
GridView
>
ElementMapper
;
#else
typedef
Dune
::
MultipleCodimMultipleGeomTypeMapper
<
GridView
,
Dune
::
MCMGVertexLayout
>
VertexMapper
;
typedef
Dune
::
MultipleCodimMultipleGeomTypeMapper
<
GridView
,
Dune
::
MCMGVertexLayout
>
VertexMapper
;
typedef
Dune
::
MultipleCodimMultipleGeomTypeMapper
<
GridView
,
Dune
::
MCMGElementLayout
>
ElementMapper
;
typedef
Dune
::
MultipleCodimMultipleGeomTypeMapper
<
GridView
,
Dune
::
MCMGElementLayout
>
ElementMapper
;
#endif
public
:
public
:
typedef
Dune
::
VTKWriter
<
GridView
>
VtkWriter
;
typedef
Dune
::
VTKWriter
<
GridView
>
VtkWriter
;
VtkMultiWriter
(
const
GridView
&
gridView
,
VtkMultiWriter
(
const
GridView
&
gridView
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment