STYLE: remove unused/stray methods, fix stray deprecated usages

STYLE: use separate value/dimensions for GeometricField

- simplifies calling parameters

COMP: limit enumeration range when reporting chemkin error
This commit is contained in:
Mark Olesen
2024-01-02 18:20:33 +01:00
parent dde4b12687
commit ad85b684bb
41 changed files with 148 additions and 201 deletions

View File

@ -50,9 +50,9 @@ Foam::wallBoilingModels::nucleateFluxModel::New
Info<< "Selecting nucleateFluxModel: " << modelType << endl;
auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
auto* ctorPtr = dictionaryConstructorTable(modelType);
if (!cstrIter.good())
if (!ctorPtr)
{
FatalIOErrorInLookup
(
@ -63,7 +63,7 @@ Foam::wallBoilingModels::nucleateFluxModel::New
) << abort(FatalIOError);
}
return cstrIter()(dict);
return ctorPtr(dict);
}