codedFixedValueFvPatchField: Updated and simplified using the new CodedBase class

reducing code duplication and maintenance overhead.
This commit is contained in:
Henry Weller
2020-02-06 16:04:21 +00:00
parent b2c30b93ce
commit 4cbb849eda
7 changed files with 94 additions and 226 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -27,6 +27,20 @@ License
#include "addToRunTimeSelectionTable.H"
#include "volFields.H"
// * * * * * * * * * * * * Private Static Data Members * * * * * * * * * * * //
defineTypeName(Foam::codedFixedValueFvPatchFieldBase);
template<>
const Foam::wordList
Foam::CodedBase<Foam::codedFixedValueFvPatchFieldBase>::codeKeys_ =
{
"code",
"codeInclude",
"localCode"
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam