codedBase: Merged with CodedBase to simplify and rationalise the implementation

This commit is contained in:
Henry Weller
2021-05-19 17:59:52 +01:00
parent bc6f4bd319
commit 178828a921
39 changed files with 324 additions and 516 deletions

View File

@ -30,18 +30,6 @@ License
#include "dynamicCodeContext.H"
#include "addToRunTimeSelectionTable.H"
// * * * * * * * * * * * * Private Static Data Members * * * * * * * * * * * //
const Foam::wordList Foam::fv::codedFvModel::codeKeys_ =
{
"codeAddSup",
"codeAddRhoSup",
"codeAddAlphaRhoSup",
"codeInclude",
"localCode"
};
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
namespace Foam
@ -140,9 +128,17 @@ const Foam::dictionary& Foam::fv::codedFvModel::codeDict() const
}
const Foam::wordList& Foam::fv::codedFvModel::codeKeys() const
Foam::wordList Foam::fv::codedFvModel::codeKeys() const
{
return codeKeys_;
return
{
"codeAddSup",
"codeAddRhoSup",
"codeAddAlphaRhoSup",
"codeInclude",
"localCode"
};
}