Skip to content
Snippets Groups Projects
Commit 40ddfb42 authored by Andrew Heather's avatar Andrew Heather
Browse files

COMP: renamed runtime selection table to avoid duplicate entry clashes

parent 2b060155
Branches
Tags
No related merge requests found
......@@ -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,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment