On Wed, 15 Dec 2010, Michael Povolotskyi wrote:

> Dear Libmesh developers,
> I have a question about the node id.
>
> Is it assumed in the libmesh code that node id's are not just the unique
> numbers but rather belong to consecutive set from 0 to n?

I think we don't make that assumption in most code, but we do renumber
nodes and elements to make them contiguous during a typical
prepare_for_use and I think many of the IO methods assume they're
contiguous.

Also SerialMesh stores things in vectors indexed by ID; *too* much
sparsity would be a memory suck.
---
Roy

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to