On Mon, 28 Jan 2008, David Knezevic wrote:
> I came across a problem in GmshIO::read. The issue is that in some cases a
> gmsh mesh contains lower dimensional elements which are just used for
> specifying boundary info so they aren't added to the libMesh mesh during
> mesh.read() and therefore
> assert( ... || e->id() == _elements.size());
> in SerialMesh::add_elem fails when we try to add the first actual element to
> the mesh.
> To get around this I put in another counter in GmshIO::read_mesh, as in the
> attached patch.
Looks good (aside from formatting - you're using hard-tabs but setting
them to equal four spaces, am I right?). Thanks for catching that!
I'll add your changes to the SVN head.