mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: renamed runtime selection table to avoid duplicate entry clashes
This commit is contained in:
@ -38,7 +38,7 @@ namespace surfaceTensionModels
|
||||
(
|
||||
surfaceTensionModel,
|
||||
constantSurfaceTensionCoefficient,
|
||||
dictionary
|
||||
multiphase
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -40,8 +40,8 @@ Foam::surfaceTensionModel::New
|
||||
Info<< "Selecting surfaceTensionModel for "
|
||||
<< pair << ": " << surfaceTensionModelType << endl;
|
||||
|
||||
dictionaryConstructorTable::iterator cstrIter =
|
||||
dictionaryConstructorTablePtr_->find(surfaceTensionModelType);
|
||||
multiphaseConstructorTable::iterator cstrIter =
|
||||
multiphaseConstructorTablePtr_->find(surfaceTensionModelType);
|
||||
|
||||
if (!cstrIter.found())
|
||||
{
|
||||
@ -49,7 +49,7 @@ Foam::surfaceTensionModel::New
|
||||
<< "Unknown surfaceTensionModelType type "
|
||||
<< surfaceTensionModelType << endl << endl
|
||||
<< "Valid surfaceTensionModel types are : " << endl
|
||||
<< dictionaryConstructorTablePtr_->sortedToc()
|
||||
<< multiphaseConstructorTablePtr_->sortedToc()
|
||||
<< exit(FatalError);
|
||||
}
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ License
|
||||
namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(surfaceTensionModel, 0);
|
||||
defineRunTimeSelectionTable(surfaceTensionModel, dictionary);
|
||||
defineRunTimeSelectionTable(surfaceTensionModel, multiphase);
|
||||
}
|
||||
|
||||
const Foam::dimensionSet Foam::surfaceTensionModel::dimSigma(1, 0, -2, 0, 0);
|
||||
|
||||
@ -73,7 +73,7 @@ public:
|
||||
(
|
||||
autoPtr,
|
||||
surfaceTensionModel,
|
||||
dictionary,
|
||||
multiphase,
|
||||
(
|
||||
const dictionary& dict,
|
||||
const phasePair& pair,
|
||||
|
||||
Reference in New Issue
Block a user