Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 381
    • Issues 381
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #225

Closed
Open
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