View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002188 | OpenFOAM | Bug | public | 2016-08-12 09:44 | 2016-11-17 16:25 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Platform | any | ||||
Product Version | dev | ||||
Summary | 0002188: triSurface IO operators are asymmetrical | ||||
Description | The operator<<(Ostream&, const triSurface&) writes patches, points, faces. However, the operator>>(Istream&, triSurface&) does not exist, and it resolves to operator>>(Istream&, List<labelledTri>&) 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. | ||||
Tags | No tags attached. | ||||