[Gmsh] R: Re: Runtime crash and Display nodedata with few nodes
corra85 at tiscali.it
corra85 at tiscali.it
Mon Jun 24 13:02:32 CEST 2013
Dear Prof. Geuzaine,
Thank you for your quick answer. I amended the
file as you suggested and now it works fine when opening the file. The
second problem I addressed, though, is not solved. My NodeData are
defined on a smaller node set than the total, and I cannot see it
anyway. I tried also with the "view5.msh" file in documentation: if I
define a nodedata set for a smaller set (let say, removing one node
data) than the total number of nodes, I cannot see it. I attached the
file for clarity.
Thank you in advance,
Corrado
----Messaggio
originale----
Da: cgeuzaine at ulg.ac.be
Data: 23/06/2013 8.58
A:
"corra85 at tiscali.it"<corra85 at tiscali.it>
Cc: "gmsh at geuz.org"<gmsh at geuz.
org>
Ogg: Re: [Gmsh] Runtime crash and Display nodedata with few nodes
On 21 Jun 2013, at 18:38, corra85 at tiscali.it wrote:
> Dear all,
> I
created the file attached according to the msh2 file
> format. I
obtain a Runtime error while trying opening it. Is there a
> limit on
the number of nodedata?
There is no limit. The problem here is that
your vertex tags (e.g. 11010101, 41040419, ...) span a very large
interval. This is not an issue for the actual mesh, but it is for the
NodeData. For efficiency reasons, NodeDatas use directly vectors (not
maps or hash maps) indexed with the vertex tags. With your tagging this
leads to the creation of huge vectors--mostly empty.
Simply tag your
vertices with consecutive tags starting at 1 and you will be fine.
I
will add a note about this in the documentation.
> Anyway, if I
remove all but one
> nodedata, it doesn't crash, but I cannot see
anything, probably because
> the number of node in the nodedata
section is less than the total
> number of nodes. Is it true? I would
like to see the vector nodedata as
> arrows, how can I achieve that?
>
Thank you in advance,
> Corrado
>
>
> Invita i tuoi amici e Tiscali
ti premia! Il consiglio di un amico vale più di uno spot in TV. Per
ogni nuovo abbonato 30 € di premio per te e per lui! Un amico al mese e
parli e navighi sempre gratis: http://freelosophy.tiscali.
it/<FlatJackTest.msh>_______________________________________________
>
gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.
org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of
Liege, Electrical Engineering and Computer Science
http://www.
montefiore.ulg.ac.be/~geuzaine
Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale più di uno spot in TV. Per ogni nuovo abbonato 30 € di premio per te e per lui! Un amico al mese e parli e navighi sempre gratis: http://freelosophy.tiscali.it/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: view5.msh
Type: application/octet-stream
Size: 303 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130624/d65b3308/attachment.msh>