mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: partial revert for 5cfa97624e
This commit is contained in:
@ -27,8 +27,7 @@ License
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Foam::autoPtr<Foam::dragModel>
|
||||
Foam::dragModel::New
|
||||
Foam::autoPtr<Foam::dragModel> Foam::dragModel::New
|
||||
(
|
||||
const dictionary& interfaceDict,
|
||||
const volScalarField& alpha,
|
||||
@ -36,15 +35,10 @@ Foam::dragModel::New
|
||||
const phaseModel& phaseb
|
||||
)
|
||||
{
|
||||
const word modelType
|
||||
(
|
||||
interfaceDict.lookup("dragModel" + phasea.name())
|
||||
);
|
||||
const word modelType(interfaceDict.lookup("dragModel" + phasea.name()));
|
||||
|
||||
Info<< "Selecting dragModel for phase "
|
||||
<< phasea.name()
|
||||
<< ": "
|
||||
<< modelType << endl;
|
||||
Info<< "Selecting dragModel for phase " << phasea.name()
|
||||
<< ": " << modelType << endl;
|
||||
|
||||
dictionaryConstructorTable::iterator cstrIter =
|
||||
dictionaryConstructorTablePtr_->find(modelType);
|
||||
|
||||
Reference in New Issue
Block a user