IOobject: Corrected model-name ordering in modelName function

This commit is contained in:
Will Bainbridge
2020-10-30 13:47:27 +00:00
parent bf10406cf7
commit 0392bcdfc7

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2019 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -46,7 +46,7 @@ inline Foam::word Foam::IOobject::modelName(Name name, const word& model)
{
if (model != word::null)
{
return name + (':' + model);
return (model + ':') + name;
}
else
{