functionObjects::randomise: Resolved problem with construction order

This commit is contained in:
Henry Weller
2020-01-29 19:22:39 +00:00
parent 1dc0b8fc88
commit 6dc3b30017

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2016-2019 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2020 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -63,7 +63,7 @@ Foam::functionObjects::randomise::randomise
const dictionary& dict
)
:
fieldExpression(name, runTime, dict, fieldName_ + "Random", fieldName_)
fieldExpression(name, runTime, dict, typeName)
{
read(dict);
}