mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: more consistent New methods, use unregistered IOobject where appropriate
This commit is contained in:
@ -43,14 +43,15 @@ Foam::functionObject::functionObject(const word& name)
|
||||
|
||||
// * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::autoPtr<Foam::functionObject> Foam::functionObject::New
|
||||
Foam::autoPtr<Foam::functionObject>
|
||||
Foam::functionObject::New
|
||||
(
|
||||
const word& name,
|
||||
const Time& t,
|
||||
const dictionary& functionDict
|
||||
)
|
||||
{
|
||||
word functionType(functionDict.lookup("type"));
|
||||
const word functionType(functionDict.lookup("type"));
|
||||
|
||||
if (debug)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user