ENH: function object: added helper function to return a local scope name

This commit is contained in:
Andrew Heather
2017-06-26 13:23:45 +01:00
parent e0e457bd7d
commit 89e175958f
2 changed files with 16 additions and 0 deletions

View File

@ -39,6 +39,14 @@ namespace Foam
bool Foam::functionObject::postProcess(false);
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
Foam::word Foam::functionObject::scopedName(const word& name) const
{
return name_ + ":" + name;
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::functionObject::functionObject(const word& name)