Skip to content
Snippets Groups Projects
Commit ffe07039 authored by mattijs's avatar mattijs
Browse files

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

parent 16661802
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ namespace surfaceWriters ...@@ -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 ...@@ -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),
......
...@@ -46,7 +46,7 @@ Description ...@@ -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 ...@@ -63,7 +63,6 @@ Description
{ {
boundaryData boundaryData
{ {
header true;
format binary; format binary;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment