ENH: add 'arch' information to output file headers (ASCII)

- this was previously suppressed for ASCII format as being 'clutter',
  but without it there is no context for interpreting the type of data
  contained in ASCII files: potentially leading to integer overflows
  when reading in ParaView etc.
This commit is contained in:
Mark Olesen
2021-01-08 13:46:17 +01:00
parent 80bb1b9f57
commit 71812c21c5
5 changed files with 88 additions and 59 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2017-2018 OpenFOAM Foundation
Copyright (C) 2020 OpenCFD Ltd.
Copyright (C) 2020-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -156,10 +156,10 @@ public:
Ostream& os,
const IOstream::versionNumber version,
const IOstream::streamFormat format,
const word& type,
const word& objectType,
const string& note,
const fileName& location,
const word& name
const word& objectName
);
//- Read selected block (non-seeking) + header information