On Thu, 17 May 2012, Kirk, Benjamin (JSC-EG311) wrote:

> How far do we need to go with supporing and maintaining an arbitrary initial
> numbering?  I ask because it is perfectly conceivable that an input mesh
> might have only three nodes, numbered 100, 200, 300, and that means
> something to the user.  Now if we go and refine that now things could and
> certainly (probably!) would break eventually.  So do we only support
> arbitrary initial numbers so long as they are 0-based and contiguous?

Here's the trick: rather than Derek's "find initial n_elem, only
renumber above that", we do "check elem->level() when renumbering,
only renumber above 0".

Then we can support crazy initial numberings (with the caveat that
SerialMesh memory usage becomes O(max_elem_id)...), and we even get
static ids after element deletion!
---
Roy

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to