Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
FS
FS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 97
    • Issues 97
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • flyspray
  • FSFS
  • Issues
  • #1698

Closed
Open
Opened Jul 19, 2015 by Jö Fahlke@joeReporter

#1698 Improve GmshReader interface

Metadata

Property Value
Reported by Jö Fahlke (jorrit@jorrit.de)
Reported at Jul 19, 2015 10:26
Type Bug Report
Version 2.3
Operating System Unspecified / All

Description

The GmshReader interface has some really counter-intuitive aspects.

For instance, it allows you to read physical entities, even though you did not specify a grid factory. This makes it impossible to later access the physical entities, since you need the grid factory used for creation of the grid to determine the indices into the vectors of physical entities. Users have run into this a few times, they usually try to index the vector with whatever looks like an index to them (e.g. IndexSet, Map, the index induced by the iteration order) and wonder why their physical entity numbers are all garbled.

As another example, (e.g. #1696 (closed)): why is it possible to specify insertBoundarySegments=false together with a vector to store the boundary physical entities into? You won't be able to access this vector, even if you specified a gridfactory, because automatically generated boundary intersections do not have an insertion index.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: flyspray/FS#1698