[Dune] vtkwriter for cell data on mixed grids
Nicolas Schwenck
nicolas.schwenck at iws.uni-stuttgart.de
Wed Nov 6 09:32:00 CET 2013
Dear Dune,
Using a mixed grid in 2d (triangles and quadrilaterals) I try to use the
vtkwriter to write cell data as output. I am struggling with the
ordering of the vector I give to the vtkwriter.
The vtkwriter documentation says: "The value of the grid function for an
arbitrary element will be accessed by calling operator[] with the index
(corresponding with the grid view) of the element." I do not understand
what that means for a mixed grid, where the index is not unique for
every element on the gridview (but only for every element of the same
geometry type).
When I look into the implementation it seems to me that a standard
gridview iterator is used, but unfortunately also if I fill my data
vector with such an ordering the output is somehow mixed up.
Has anyone used the vtkwriter for mixed grids and cell data and can give
me a hint where to look at? I use dune trunk.
Any help is appreciated,
Nicolas
--
*******************************************************
!!!! CMWR 2014: 9th - 13th June 2014 in Stuttgart !!!!
Please visit www.cmwr14.de
*******************************************************
_____________________________________________________________________
Dipl.-Ing. Nicolas Schwenck
University of Stuttgart
Department of Hydromechanics and Modelling of Hydrosystems
Pfaffenwaldring 61 phone: +49 711 685 64736
GER-70569 Stuttgart fax: +49 711 685 60430
email: nicolas.schwenck at iws.uni-stuttgart.de
url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________
More information about the Dune
mailing list