fvModels, fvConstraints: Updated constructor argument order for consistency with functionObjects

Following the convention chosen for functionObjects the coefficients dictionary
argument is last in constructor argument list.
This commit is contained in:
Henry Weller
2023-01-28 10:28:29 +00:00
parent 5d55e0483d
commit 3d2cd9a3b2
96 changed files with 335 additions and 335 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -151,8 +151,8 @@ Foam::fvModel& Foam::fv::codedFvModel::redirectFvModel() const
redirectFvModelPtr_ = fvModel::New
(
name(),
constructDict,
mesh()
mesh(),
constructDict
);
}
return redirectFvModelPtr_();
@ -228,11 +228,11 @@ Foam::fv::codedFvModel::codedFvModel
(
const word& name,
const word& modelType,
const dictionary& dict,
const fvMesh& mesh
const fvMesh& mesh,
const dictionary& dict
)
:
fvModel(name, modelType, dict, mesh),
fvModel(name, modelType, mesh, dict),
fieldName_(word::null)
{
readCoeffs();