Nice find.  I will fix this now.

-J


Ingo Schmidt writes:
 > Dear libmesh community,
 > 
 > I've detected a bug at the TecplotIO::write_ascii() function. I'm
 > messing around with "1D" boundary meshes. But I had problems to open
 > such *.plt or *.dat files generated from such meshes (Tecplot aborts the
 > procedure). So I checked the source code and found that irreproducible
 > if condition
 > 
 > 00187     if (mesh.mesh_dimension() != 1)
 > 00188       {
 > 00189         out << "Zone f=fepoint, n=" << mesh.n_nodes() << ", e=" << 
 > mesh.n_active_sub_elem();
 > 00190         
 > 00191         if (mesh.mesh_dimension() == 2)
 > 00192           out << ", et=quadrilateral\n";
 > 00193         else if (mesh.mesh_dimension() == 3)
 > 00194           out << ", et=brick\n";
 > 00195       }
 > 
 > for my case it is enough to change it to
 > 
 >   out << "Zone f=fepoint, n=" << mesh.n_nodes() << ", e=" << 
 > mesh.n_active_sub_elem();
 >   if (mesh.mesh_dimension() == 1)
 >      out << ", et=lineseg\n";
 >   else if (mesh.mesh_dimension() == 2)
 >        out << ", et=quadrilateral\n";
 >   else if (mesh.mesh_dimension() == 3)
 >        out << ", et=brick\n";
 > 
 > 
 > Additionally it could be more comfortable to add the color option (e.g.
 > c=black) to predefine the mesh color.
 > 
 > Best regards
 > 
 > Ingo
 > 
 > -- 
 > Dipl.-Ing. Ingo Schmidt
 > Institute of Modelling and Computation
 > 
 > Hamburg University of Technology     tel: +49/(0)40/42878-4483
 > Denickestr.17                                fax: +49/(0)40/42878-4353       
 > Building L/ room: 3032                       
 > 21075 Hamburg
 > 
 > http://www.mub.TU-Harburg.de
 > 
 > 
 > -------------------------------------------------------------------------
 > This SF.net email is sponsored by: Splunk Inc.
 > Still grepping through log files to find problems?  Stop.
 > Now Search log events and configuration files using AJAX and a browser.
 > Download your FREE copy of Splunk now >> http://get.splunk.com/
 > _______________________________________________
 > Libmesh-users mailing list
 > [email protected]
 > https://lists.sourceforge.net/lists/listinfo/libmesh-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to