On Mon, Mar 15, 2010 at 12:09 PM, John Peterson
<[email protected]> wrote:
>
> I'm not certain if the attributes are per-element, looking at the
> Exodus API now to check on that.

Yes, actually their documentation on sf.net is excellent.  This should
be totally do-able.  num_attr is the number of attributes *per
element* in the block.  The API is

ex_{put,get}_elem_block(..., num_attr);
ex_{put,get}_elem_attr(exoid, elem_blk_id, attrib);

where attrib is a 1D array which is logically num_elem_this_blk(rows)
* num_attr(cols)

-- 
John

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to