On Tue, 18 Aug 2009, John Peterson wrote:

On Tue, Aug 18, 2009 at 8:43 AM, Roy Stogner<royst...@ices.utexas.edu> wrote:

On Tue, 18 Aug 2009, Tim Kroeger wrote:

when a mesh is written with Mesh::write() (into a .xdr file) and later
re-read with Mesh::read(), are then the Elem::id() values guaranteed
to be the same as in the original mesh, or is it possible the they get
newly-numbered?

They definitely get newly numbered, in general.  Not sure what the
exceptions are.

I think there are definitely some exceptions.  The last time I used
restart solutions, they seemed to work, and I don't see how it could
unless the Mesh which was read back in had the same numbering as when
it was written out...

Restart solutions are a special case; IIRC we re-index them when we're
renumbering.  That's why I suggested an ExplicitSystem with piecewise
constants as a nasty hack for associating data with each element.
---
Roy
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to