mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: boundaryData: prefer output with header. See #1640.
This commit is contained in:
@ -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),
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user