mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Standardized the naming of functions which control the writing of fields etc.
to have the prefix 'write' rather than 'output' So outputTime() -> writeTime() but 'outputTime()' is still supported for backward-compatibility. Also removed the redundant secondary-writing functionality from Time which has been superseded by the 'writeRegisteredObject' functionObject.
This commit is contained in:
@ -74,7 +74,7 @@ void Foam::functionObjects::partialWrite::read(const dictionary& dict)
|
||||
|
||||
Info<< type() << " " << name() << ":" << nl
|
||||
<< " dumping every " << writeInterval_
|
||||
<< " th outputTime : " << nl << endl ;
|
||||
<< " th writeTime : " << nl << endl ;
|
||||
|
||||
forAllConstIter(HashSet<word>, objectNames_, iter)
|
||||
{
|
||||
@ -123,7 +123,7 @@ void Foam::functionObjects::partialWrite::end()
|
||||
|
||||
void Foam::functionObjects::partialWrite::timeSet()
|
||||
{
|
||||
if (obr_.time().outputTime())
|
||||
if (obr_.time().writeTime())
|
||||
{
|
||||
writeInstance_++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user