Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
bb67ccd3
Commit
bb67ccd3
authored
May 19, 2017
by
Andrew Heather
Browse files
ENH: Cleaned up hash table item found checks
parent
c1cbfe7a
Changes
231
Hide whitespace changes
Inline
Side-by-side
applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModelNew.C
View file @
bb67ccd3
...
...
@@ -43,7 +43,7 @@ Foam::autoPtr<Foam::PDRDragModel> Foam::PDRDragModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
modelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown PDRDragModel type "
...
...
applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModelNew.C
View file @
bb67ccd3
...
...
@@ -42,7 +42,7 @@ Foam::autoPtr<Foam::XiEqModel> Foam::XiEqModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
modelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown XiEqModel type "
...
...
applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModelNew.C
View file @
bb67ccd3
...
...
@@ -42,7 +42,7 @@ Foam::autoPtr<Foam::XiGModel> Foam::XiGModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
modelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown XiGModel type "
...
...
applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModelNew.C
View file @
bb67ccd3
...
...
@@ -45,7 +45,7 @@ Foam::autoPtr<Foam::XiModel> Foam::XiModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
modelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown XiModel type "
...
...
applications/solvers/multiphase/driftFluxFoam/mixtureViscosityModels/mixtureViscosityModel/mixtureViscosityModelNew.C
View file @
bb67ccd3
...
...
@@ -44,7 +44,7 @@ Foam::autoPtr<Foam::mixtureViscosityModel> Foam::mixtureViscosityModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
modelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown mixtureViscosityModel type "
...
...
applications/solvers/multiphase/driftFluxFoam/relativeVelocityModels/relativeVelocityModel/relativeVelocityModel.C
View file @
bb67ccd3
...
...
@@ -111,7 +111,7 @@ Foam::autoPtr<Foam::relativeVelocityModel> Foam::relativeVelocityModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
modelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown time scale model type "
<<
modelType
...
...
applications/solvers/multiphase/interCondensingEvaporatingFoam/temperaturePhaseChangeTwoPhaseMixtures/temperaturePhaseChangeTwoPhaseMixtures/newtemperaturePhaseChangeTwoPhaseMixture.C
View file @
bb67ccd3
...
...
@@ -63,7 +63,7 @@ Foam::temperaturePhaseChangeTwoPhaseMixture::New
componentsConstructorTablePtr_
->
find
(
temperaturePhaseChangeTwoPhaseMixtureTypeName
);
if
(
cstrIter
==
componentsConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown temperaturePhaseChangeTwoPhaseMixture type "
...
...
applications/solvers/multiphase/interPhaseChangeFoam/phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C
View file @
bb67ccd3
...
...
@@ -60,7 +60,7 @@ Foam::phaseChangeTwoPhaseMixture::New
componentsConstructorTablePtr_
->
find
(
phaseChangeTwoPhaseMixtureTypeName
);
if
(
cstrIter
==
componentsConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown phaseChangeTwoPhaseMixture type "
...
...
applications/solvers/multiphase/multiphaseEulerFoam/interfacialModels/dragModels/dragModel/newDragModel.C
View file @
bb67ccd3
...
...
@@ -44,7 +44,7 @@ Foam::autoPtr<Foam::dragModel> Foam::dragModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
dragModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown dragModelType type "
...
...
applications/solvers/multiphase/multiphaseEulerFoam/interfacialModels/heatTransferModels/heatTransferModel/newHeatTransferModel.C
View file @
bb67ccd3
...
...
@@ -48,7 +48,7 @@ Foam::autoPtr<Foam::heatTransferModel> Foam::heatTransferModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
heatTransferModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown heatTransferModelType type "
...
...
applications/solvers/multiphase/multiphaseEulerFoam/multiphaseSystem/diameterModels/diameterModel/newDiameterModel.C
View file @
bb67ccd3
...
...
@@ -46,7 +46,7 @@ Foam::autoPtr<Foam::diameterModel> Foam::diameterModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
diameterModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown diameterModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/interfaceCompositionModels/interfaceCompositionModel/newInterfaceCompositionModel.C
View file @
bb67ccd3
...
...
@@ -52,7 +52,7 @@ Foam::interfaceCompositionModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
interfaceCompositionModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown interfaceCompositionModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/massTransferModels/massTransferModel/newMassTransferModel.C
View file @
bb67ccd3
...
...
@@ -42,7 +42,7 @@ Foam::autoPtr<Foam::massTransferModel> Foam::massTransferModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
massTransferModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown massTransferModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/saturationModels/saturationModel/newSaturationModel.C
View file @
bb67ccd3
...
...
@@ -40,7 +40,7 @@ Foam::autoPtr<Foam::saturationModel> Foam::saturationModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
saturationModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown saturationModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialCompositionModels/surfaceTensionModels/surfaceTensionModel/newSurfaceTensionModel.C
View file @
bb67ccd3
...
...
@@ -43,7 +43,7 @@ Foam::surfaceTensionModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
surfaceTensionModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown surfaceTensionModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialModels/aspectRatioModels/aspectRatioModel/newAspectRatioModel.C
View file @
bb67ccd3
...
...
@@ -43,7 +43,7 @@ Foam::aspectRatioModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
aspectRatioModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown aspectRatioModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialModels/dragModels/dragModel/newDragModel.C
View file @
bb67ccd3
...
...
@@ -42,7 +42,7 @@ Foam::autoPtr<Foam::dragModel> Foam::dragModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
dragModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown dragModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialModels/heatTransferModels/heatTransferModel/newHeatTransferModel.C
View file @
bb67ccd3
...
...
@@ -42,7 +42,7 @@ Foam::autoPtr<Foam::heatTransferModel> Foam::heatTransferModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
heatTransferModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown heatTransferModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialModels/liftModels/liftModel/newLiftModel.C
View file @
bb67ccd3
...
...
@@ -42,7 +42,7 @@ Foam::autoPtr<Foam::liftModel> Foam::liftModel::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
liftModelType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown liftModelType type "
...
...
applications/solvers/multiphase/reactingEulerFoam/interfacialModels/swarmCorrections/swarmCorrection/newSwarmCorrection.C
View file @
bb67ccd3
...
...
@@ -43,7 +43,7 @@ Foam::swarmCorrection::New
dictionaryConstructorTable
::
iterator
cstrIter
=
dictionaryConstructorTablePtr_
->
find
(
swarmCorrectionType
);
if
(
cstrIter
==
dictionaryConstructorTablePtr_
->
e
nd
())
if
(
!
cstrIter
.
fou
nd
())
{
FatalErrorInFunction
<<
"Unknown swarmCorrectionType type "
...
...
Prev
1
2
3
4
5
…
12
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment