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:
@ -56,10 +56,10 @@ void Foam::ensightGeoFile::initialize()
|
||||
Foam::ensightGeoFile::ensightGeoFile
|
||||
(
|
||||
const fileName& pathname,
|
||||
IOstreamOption::streamFormat format
|
||||
IOstreamOption::streamFormat fmt
|
||||
)
|
||||
:
|
||||
ensightFile(pathname, format)
|
||||
ensightFile(pathname, fmt)
|
||||
{
|
||||
initialize();
|
||||
}
|
||||
@ -69,10 +69,10 @@ Foam::ensightGeoFile::ensightGeoFile
|
||||
(
|
||||
const fileName& path,
|
||||
const fileName& name,
|
||||
IOstreamOption::streamFormat format
|
||||
IOstreamOption::streamFormat fmt
|
||||
)
|
||||
:
|
||||
ensightFile(path, name, format)
|
||||
ensightFile(path, name, fmt)
|
||||
{
|
||||
initialize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user