mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: set readOpt(..), writeOpt(..) by parameter, not by assignment
STYLE: qualify format/version/compression with IOstreamOption not IOstream
STYLE: reduce number of lookups when scanning {fa,fv}Solution
STYLE: call IOobject::writeEndDivider as static
This commit is contained in:
@ -119,10 +119,10 @@ void Foam::ensightFile::initialize()
|
||||
Foam::ensightFile::ensightFile
|
||||
(
|
||||
const fileName& pathname,
|
||||
IOstreamOption::streamFormat format
|
||||
IOstreamOption::streamFormat fmt
|
||||
)
|
||||
:
|
||||
OFstream(ensight::FileName(pathname), format)
|
||||
OFstream(ensight::FileName(pathname), fmt)
|
||||
{
|
||||
initialize();
|
||||
}
|
||||
@ -132,10 +132,10 @@ Foam::ensightFile::ensightFile
|
||||
(
|
||||
const fileName& path,
|
||||
const fileName& name,
|
||||
IOstreamOption::streamFormat format
|
||||
IOstreamOption::streamFormat fmt
|
||||
)
|
||||
:
|
||||
OFstream(path/ensight::FileName(name), format)
|
||||
OFstream(path/ensight::FileName(name), fmt)
|
||||
{
|
||||
initialize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user