[Dune] Questions on GnuplotWriter

Alexander Schlaich schlaich at icp.uni-stuttgart.de
Tue Jan 24 12:07:38 CET 2012


Hi Christian,

I didn't visualize it in 3d.
In fact I can look at planes of my solution or project to a plane, but 
the solution is like expected from analytical expression as well as the 
vertex points.

It's just that in my simple case the data format is appropriate and 
therefore in my opinion brings less overhead than using vtk. Maybe the 
name GnuplotWriter is confusing for this particular application ;-)

Alex



--- Original Message ---

From:     Christian Engwer <christian.engwer at uni-muenster.de>
To:         Alexander Schlaich <schlaich at icp.uni-stuttgart.de>
CC:        dune at dune-project.org
Date:     Tue, 24 Jan 2012 11:52:51 +0100
Subject: Re: [Dune] Questions on GnuplotWriter


> Hi Alexander,
>
>> I'm using the GnuplotWriter of dune-grid to output my results at the
>> Vertex positions of my 2d grid calculated using
>> Dune::PDELab::Pk2DLocalFiniteElementMap and addVertexData(u, name)
>> where u is the resulting solution vector of the FEM procedure.
>>
>> For k=1 this works perfectly as expected but for k>1 the assertion
>> (t == vertexData&&  _is.size(GridView::dimension) == data.size())
>> fails.
>> However commenting out the assertion (of course loosing consistency)
>> worked fine for my and I get the same vertex data as in vtk output.
>>
>> Is there a generic mechanism behind so one could provide gnuplot
>> output of vertex data even if the data container contains more
>> information?
>>
>> Second question is that it looks to me as if the limitation to 2d
>> for vertex data is not necessary? At least for me it perfectly
>> worked without changes for 3d grids as well.
> what do you mean by "worked"? How are you visualizing 3d data with
> gnuplot?
>
> Christian


-- 
-------------------------------------------------------
Alexander Schlaich
-------------------------------------------------------
Institut für Computerphysik
Universität Stuttgart
Pfaffenwaldring 27
D-70569 Stuttgart

Tel: +49-711 685-60458
Fax: +49-711 685-63658

e-mail: schlaich at icp.uni-stuttgart.de

http://www.icp.uni-stuttgart.de/





More information about the Dune mailing list