Actually... we just put in a change... we defined SUBDOMAIN_ID_MAX (using 
UCHAR_MAX from climits) and we use that for 0 now instead.

We noticed when compiling debug that it was having trouble with assigning 9999 
to an unsigned char.... as it should.

Derek

On Jan 20, 2010, at 1:51 PM, Roy Stogner wrote:

> 
> On Mon, 18 Jan 2010, Derek Gaston wrote:
> 
>> I just committed a hack so that using Exodus with the examples
>> works.... all it does is turn subdomain and boundary id's from 0 to
>> 9999.  Ugly hack... but it does work.  I can't come up with
>> something I really like better...
> 
> Actually, with the default subdomain_id_type of unsigned char, I think
> the boundary ids get turned into 255.  We might want to make that
> explicit, instead of letting the behavior silently differ for people
> who have and haven't picked a larger subdomain id type?
> 
> Agreed, though, that it's hard to think of a good long-term solution.
> 
> My good very-long-term solution is to teach my baby to start counting
> from 0 instead of 1; at least there'll be one more person in the world
> who recognizes Fortran-style numbering as being inherently Wrong.
> ---
> Roy


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to