Time: Removed graphFormat
setFormat no longer defaults to the value of graphFormat optionally set in controlDict and must be set in the functionObject dictionary. boundaryFoam, financialFoam and pdfPlot still require a graphFormat entry in controlDict but this is now read directly rather than by Time.
This commit is contained in:
@ -385,7 +385,6 @@ Foam::Time::Time
|
||||
writeFormat_(IOstream::ASCII),
|
||||
writeVersion_(IOstream::currentVersion),
|
||||
writeCompression_(IOstream::UNCOMPRESSED),
|
||||
graphFormat_("raw"),
|
||||
cacheTemporaryObjects_(true),
|
||||
|
||||
functionObjects_
|
||||
@ -484,7 +483,6 @@ Foam::Time::Time
|
||||
writeFormat_(IOstream::ASCII),
|
||||
writeVersion_(IOstream::currentVersion),
|
||||
writeCompression_(IOstream::UNCOMPRESSED),
|
||||
graphFormat_("raw"),
|
||||
cacheTemporaryObjects_(true),
|
||||
|
||||
functionObjects_(*this, enableFunctionObjects)
|
||||
@ -550,7 +548,6 @@ Foam::Time::Time
|
||||
writeFormat_(IOstream::ASCII),
|
||||
writeVersion_(IOstream::currentVersion),
|
||||
writeCompression_(IOstream::UNCOMPRESSED),
|
||||
graphFormat_("raw"),
|
||||
cacheTemporaryObjects_(true),
|
||||
|
||||
functionObjects_(*this, enableFunctionObjects)
|
||||
@ -611,7 +608,6 @@ Foam::Time::Time
|
||||
writeFormat_(IOstream::ASCII),
|
||||
writeVersion_(IOstream::currentVersion),
|
||||
writeCompression_(IOstream::UNCOMPRESSED),
|
||||
graphFormat_("raw"),
|
||||
cacheTemporaryObjects_(true),
|
||||
|
||||
functionObjects_(*this, enableFunctionObjects)
|
||||
|
||||
@ -190,9 +190,6 @@ private:
|
||||
//- Default output compression
|
||||
IOstream::compressionType writeCompression_;
|
||||
|
||||
//- Default graph format
|
||||
word graphFormat_;
|
||||
|
||||
//- Is temporary object cache enabled
|
||||
mutable bool cacheTemporaryObjects_;
|
||||
|
||||
@ -301,12 +298,6 @@ public:
|
||||
return writeCompression_;
|
||||
}
|
||||
|
||||
//- Default graph format
|
||||
const word& graphFormat() const
|
||||
{
|
||||
return graphFormat_;
|
||||
}
|
||||
|
||||
//- Supports re-reading
|
||||
const Switch& runTimeModifiable() const
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2022 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -202,7 +202,6 @@ void Foam::Time::readDict()
|
||||
}
|
||||
}
|
||||
|
||||
controlDict_.readIfPresent("graphFormat", graphFormat_);
|
||||
controlDict_.readIfPresent("runTimeModifiable", runTimeModifiable_);
|
||||
|
||||
userTime_->read(controlDict_);
|
||||
|
||||
Reference in New Issue
Block a user