Paul,

I'm running into a serious regression with this patch.  If you declare a Mesh 
variable with the default constructor arguments you end up with a mesh with 
dimension=1 (mesh_base.h:80).  If you then make a call to mesh::read(...) -> 
ExodusII_IO::read(...), you'll immediately trip the new error check at 
exodus_io.C:110 when it tests for the dimension of the mesh and fails if it 
equals 1.  The ExodusII interface was updated by Roy some time ago to set the 
dimension of the mesh "after" reading the ExodusII header information.  This 
new error check simply needs to be postponed until after the header is read and 
the mesh dimension has been set.

I'm happy to make the change or you can.  Let me know,
Cody

On Oct 3, 2011, at 10:58 AM, Paul T. Bauman wrote:

> Please find attached an updated patch for the ExodusII classes for outputting 
> 1-D elements. I've also enclosed a patch to ex0 that I used to test. I've 
> tested it for both EDGE2 and EDGE3 elements and things look kosher when 
> loading the output into ParaView. However, read does not work and I've an 
> included an error message that prints when one tries to read a mesh with one 
> dimension using ExodusII. The problem seems to stem from the fact the notion 
> of a side set is not defined in ExodusII for 1-D elements. I'm happy to alter 
> the patch if someone has a suggestion how to work around this problem.
> 
> Best,
> 
> Paul
> <exoii.patch><ex0.patch>------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1_______________________________________________
> Libmesh-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-devel


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to