[Dune] Re: label/id mismatching when visualizing with vtkwriter and paraview (with that of grid files)

Sreejith Pulloor Kuttanikkad sreejith at hal.iwr.uni-heidelberg.de
Sat Sep 9 10:29:56 CEST 2006


Thanks Oliver and Robert for the feedbacks. 
I just wanted to clear things. Except that sometimes it is confusing, 
I am happy the way it is.
Thanks,
Sreejith
On Fri, Sep 08, 2006 at 07:20:27PM +0200, Robert Kloefkorn wrote:
> Hi Sreejith,
> 
> > Why is that a grid file when visualising with vtkwriter and paraview
> > gives different labels (for eg. ID's of vertices ) than the original
> > ids from the grid file.
> 
> as Oli mentioned, the reason that the numbering in the macro grid file
> is differnent to that, given by the LeafIndexSet (as in your example)
> is simply, that the creation of this vertex index is done by iterating
> over the grids elements. Clearly one cannnot expect to get the same
> numbering. If you want to get the same numbers, you should use the
> localIdSet which in case of ALU2dGrid then should give you the same
> numbers, although it's not an index set.
> 
> If you want the same numbering in the macro file and in the
> LeafIndexSet, you have to rewrite the macro file such that every vertex
> gets the number it has in the LeafIndex afterwards. But this is a lot of
> work for that little of outcome.
> 
> Regards
> 
> R
> 
> -- 
> 
>   Robert Kl?fkorn           <robertk at mathematik.uni-freiburg.de>
> 
>   Mathematisches Institut              Tel: +49 (0) 761 203 5631
>   Abt. f?r Angewandte Mathematik       Fax: +49 (0) 761 203 5632
>   Universit?t Freiburg
>   Hermann-Herder-Str. 10
>   79104 Freiburg
> 
>   http://www.mathematik.uni-freiburg.de/IAM/homepages/robertk
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://www.dune-project.org/cgi-bin/mailman/listinfo/dune
> 

-- 
Sreejith P. Kuttanikkad                       
IWR, University of Heidelberg       
Room:009, Im Neuenheimer Feld-348                         
69120 Heidelberg,Germany.                      
Ph :+49-6221-54-5689/4412(Office)
   :+49-(0)17624228904(Mob)
http://hal.iwr.uni-heidelberg.de/~sreejith/
-------------------------------------------




More information about the Dune mailing list