On Tue, Jun 24, 2014 at 12:08 PM, John Peterson <jwpeter...@gmail.com> wrote:
> On Tue, Jun 24, 2014 at 11:51 AM, Sahai, Amal <sah...@illinois.edu> wrote:
>> I think I've been able to solve the problem by reading the external mesh by 
>> directly using the mesh object through mesh.read(string) instead of using 
>> the ExodusII_IO object.
>
> There's no difference between these two ways of reading the Mesh...
> see line 697 of src/mesh/unstructured_mesh.C

Oh, wait I see: you need to call mesh.prepare_for_use() before you can
iterate over active local elements!

That's the extra bit that mesh.read() does for you...

-- 
John

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to