ufz/ogs — pull request #163 by rinkk (2013-07-08 10:58:30+00:00)
Title: Added check for zero elements in mesh read method

Comment: For VTU meshes we already check for 0 elements (i.e. we check if the NumberOfCells-Attribute equals 0)

In both read-methods we don't test if the real number of elements in the file really equals the declared number of elements. We simply read an element for the declared number of times, i.e. if there are more elements we will miss some and if there are less some terrible things will probably happen.

Should we do something about that or do we have the view that input files should be syntactically correct?