ENH: boundaryData: prefer output with header. See #1640.

This commit is contained in:
mattijs
2020-06-11 16:01:42 +01:00
parent 1666180271
commit ffe07039e0
2 changed files with 3 additions and 4 deletions

View File

@ -55,7 +55,7 @@ namespace surfaceWriters
Foam::surfaceWriters::boundaryDataWriter::boundaryDataWriter() Foam::surfaceWriters::boundaryDataWriter::boundaryDataWriter()
: :
surfaceWriter(), surfaceWriter(),
header_(false), header_(true),
streamOpt_() streamOpt_()
{} {}
@ -66,7 +66,7 @@ Foam::surfaceWriters::boundaryDataWriter::boundaryDataWriter
) )
: :
surfaceWriter(options), surfaceWriter(options),
header_(options.getOrDefault("header", false)), header_(options.getOrDefault("header", true)),
streamOpt_ streamOpt_
( (
IOstream::formatEnum("format", options, IOstream::ASCII), IOstream::formatEnum("format", options, IOstream::ASCII),

View File

@ -46,7 +46,7 @@ Description
Format options: Format options:
\table \table
Property | Description | Required | Default Property | Description | Required | Default
header | Generate files with FoamFile header | no | false header | Generate files with FoamFile header | no | true
format | ascii/binary | no | ascii format | ascii/binary | no | ascii
compression | Use file compression | no | false compression | Use file compression | no | false
\endtable \endtable
@ -63,7 +63,6 @@ Description
{ {
boundaryData boundaryData
{ {
header true;
format binary; format binary;
} }
} }