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:
Henry Weller
2016-05-12 17:38:01 +01:00
parent 71290b4d9e
commit 758dfc2c1f
133 changed files with 390 additions and 570 deletions

View File

@ -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_++;