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()
:
surfaceWriter(),
header_(false),
header_(true),
streamOpt_()
{}
@ -66,7 +66,7 @@ Foam::surfaceWriters::boundaryDataWriter::boundaryDataWriter
)
:
surfaceWriter(options),
header_(options.getOrDefault("header", false)),
header_(options.getOrDefault("header", true)),
streamOpt_
(
IOstream::formatEnum("format", options, IOstream::ASCII),

View File

@ -46,7 +46,7 @@ Description
Format options:
\table
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
compression | Use file compression | no | false
\endtable
@ -63,7 +63,6 @@ Description
{
boundaryData
{
header true;
format binary;
}
}