ENH: boundaryData: prefer output with header. See #1640.
This commit is contained in:
parent
1666180271
commit
ffe07039e0
@ -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),
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user