Skip to content
GitLab
Explore
Sign in
Register
This is an archived project. Repository and other project resources are read-only.
Commits on Source (1)
COMP: mark function objects as removable
· 17632c2a
Mark OLESEN
authored
Nov 26, 2021
- ensures that unloading will not affect the rest of the table
17632c2a
Hide whitespace changes
Inline
Side-by-side
src/catalyst/catalystFunctionObject.C
View file @
17632c2a
...
...
@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2018-202
0
OpenCFD Ltd.
Copyright (C) 2018-202
1
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
...
...
src/runTimePostProcessing/runTimePostProcessing.C
View file @
17632c2a
...
...
@@ -5,7 +5,7 @@
\\ / A nd | www.openfoam.com
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2015-202
0
OpenCFD Ltd.
Copyright (C) 2015-202
1
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -62,14 +62,15 @@ namespace functionObjects
{
defineTypeNameAndDebug
(
runTimePostProcessing
,
0
);
addToRunTimeSelectionTable
add
Removable
ToRunTimeSelectionTable
(
functionObject
,
runTimePostProcessing
,
dictionary
);
}
}
}
// End namespace functionObjects
}
// End namespace Foam
// * * * * * * * * * * * * * * * Local Functions * * * * * * * * * * * * * * //
...
...