Skip to content
Snippets Groups Projects
Commit e1325198 authored by andy's avatar andy
Browse files

STYLE: changed distributionModelType -> type

parent 12909926
No related merge requests found
...@@ -34,9 +34,9 @@ Foam::distributionModels::distributionModel::New ...@@ -34,9 +34,9 @@ Foam::distributionModels::distributionModel::New
cachedRandom& rndGen cachedRandom& rndGen
) )
{ {
const word modelType(dict.lookup("distributionModelType")); const word modelType(dict.lookup("type"));
Info<< "Selecting distributionModelType " << modelType << endl; Info<< "Selecting distribution model " << modelType << endl;
dictionaryConstructorTable::iterator cstrIter = dictionaryConstructorTable::iterator cstrIter =
dictionaryConstructorTablePtr_->find(modelType); dictionaryConstructorTablePtr_->find(modelType);
...@@ -51,8 +51,8 @@ Foam::distributionModels::distributionModel::New ...@@ -51,8 +51,8 @@ Foam::distributionModels::distributionModel::New
"cachedRandom&" "cachedRandom&"
")" ")"
) )
<< "Unknown distributionModel type " << modelType << nl << nl << "Unknown distribution model type " << modelType << nl << nl
<< "Valid distributionModel types are:" << nl << "Valid distribution model types are:" << nl
<< dictionaryConstructorTablePtr_->sortedToc() << dictionaryConstructorTablePtr_->sortedToc()
<< exit(FatalError); << exit(FatalError);
} }
......
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