On Wed, 1 Jun 2011, Cody Permann wrote:

> On Jun 1, 2011, at 11:34 AM, Roy Stogner wrote:
>
>> Struct padding in elem.h is such that adding 1 byte to
>> sizeof(subdomain_id_type) won't necessarily add 1 byte to
>> sizeof(Elem).  At first glance it looks like it would add 4 bytes on
>> 32-bit systems or 0 bytes on 64-bit systems, but I wouldn't swear to
>> any of that.
>
> Yes I came to the exact same conclusion based on what I know about
> struct padding.  I just verified on my 64-bit Mac that changing the
> subdomain size to 16 bits did _NOT_ change the overall size of an
> element.  (HEX8 is 96 bytes before and after on this system)

I'm now tempted to say let's default to 32-bit subdomain_id_type and
just leave configure options to bump it down to 16 or 8 bits.  Any
issues with Exodus (or other formats) support for 32-bit block
numbers?
---
Roy

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to