~florian-rathgeber/fluidity/femtools-python-ctypes

Viewing all changes in revision 3488.

  • Committer: Cian Wilson
  • Date: 2011-05-28 17:49:11 UTC
  • mfrom: (3415.1.2 gmshbug)
  • Revision ID: cwilson@ldeo.columbia.edu-20110528174911-24kdpiaqbbsbk7q5
Read_GMSH assumed that there were only two types of elements in the msh file and worked out the number of volume elements by subtracting the number of facets from the total number of elements. In 3D if gmsh produces interval elements then this didn't actually give the number of tets/hexes. This merge fixes this by working out the number of volume elements properly (from the number of tets/hexes actually in the file). This in effect drops any interval elements, which is the same behaviour as produced by going through gmsh2triangle.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: