Skip to content
Snippets Groups Projects
Commit 17632c2a authored by Mark OLESEN's avatar Mark OLESEN
Browse files

COMP: mark function objects as removable

- ensures that unloading will not affect the rest of the table
parent 746ea539
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2018-2020 OpenCFD Ltd.
Copyright (C) 2018-2021 OpenCFD Ltd.
Copyright (C) 2018 CINECA
-------------------------------------------------------------------------------
License
......@@ -46,12 +46,14 @@ namespace Foam
namespace functionObjects
{
defineTypeNameAndDebug(catalystFunctionObject, 0);
addToRunTimeSelectionTable
addRemovableToRunTimeSelectionTable
(
functionObject,
catalystFunctionObject,
dictionary
);
} // End namespace functionObjects
} // End namespace Foam
......@@ -245,7 +247,7 @@ bool Foam::functionObjects::catalystFunctionObject::read(const dictionary& dict)
}
else
{
Info<< type() << " " << name() << ":" << nl
Info<< type() << ' ' << name() << ':' << nl
<< " output: " << outputDir_ << nl
<< " scripts: " << scripts_ << nl
<< " inputs:" << nl
......
......@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2015-2020 OpenCFD Ltd.
Copyright (C) 2015-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
......@@ -62,14 +62,15 @@ namespace functionObjects
{
defineTypeNameAndDebug(runTimePostProcessing, 0);
addToRunTimeSelectionTable
addRemovableToRunTimeSelectionTable
(
functionObject,
runTimePostProcessing,
dictionary
);
}
}
} // End namespace functionObjects
} // End namespace Foam
// * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment