functionObjects: Renamed dictionary entry 'functionObjectLibs' -> 'libs'

This changes simplifies the specification of functionObjects in
controlDict and is consistent with the 'libs' option in controlDict to
load special solver libraries.

Support for the old 'functionObjectLibs' name is supported for backward compatibility.
This commit is contained in:
Henry Weller
2016-05-16 22:09:01 +01:00
parent 4ba3463052
commit 18725ed3ac
128 changed files with 191 additions and 166 deletions

View File

@ -64,12 +64,6 @@ void Foam::functionObjects::writeFiles::createFiles()
}
void Foam::functionObjects::writeFiles::write()
{
createFiles();
}
void Foam::functionObjects::writeFiles::resetNames(const wordList& names)
{
names_.clear();
@ -200,4 +194,12 @@ Foam::OFstream& Foam::functionObjects::writeFiles::file(const label i)
}
bool Foam::functionObjects::writeFiles::write(const bool postProcess)
{
createFiles();
return true;
}
// ************************************************************************* //

View File

@ -74,9 +74,6 @@ protected:
//- Create the output file
virtual void createFiles();
//- Write function
virtual void write();
//- Reset the list of names from a wordList
virtual void resetNames(const wordList& names);
@ -130,6 +127,9 @@ public:
//- Return file 'i'
OFstream& file(const label i);
//- Write function
virtual bool write(const bool postProcess = false);
};