Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 455
    • Issues 455
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #225
Closed
Open
Issue created Sep 06, 2016 by Mark OLESEN@markMaintainer

BUG: triSurface IO operators are asymmetrical

Also reported as http://bugs.openfoam.org/view.php?id=2188

The operator<<(Ostream&, const triSurface&) writes patches, points, faces.

However, the operator>>(Istream&, triSurface&) does not exist, and it resolves to operator>>(Istream&, List&) via the PrimitivePatch parent. This operator only reads faces.

The simple change would be to add an operator>>(Istream&, triSurface&) that delegates to the triSurface::read(Istream&) method.

@Mattijs

Assignee
Assign to
Time tracking