mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: function objects - apply scoped name when registering objects
This commit is contained in:
committed by
Mark Olesen
parent
9194cd5203
commit
c233961d45
@ -56,7 +56,7 @@ bool Foam::functionObjects::randomise::calcTemplate()
|
||||
{
|
||||
const auto& field = *fieldPtr;
|
||||
|
||||
resultName_ = fieldName_ & "Random";
|
||||
resultName_ = scopedName(fieldName_ & "Random");
|
||||
|
||||
auto trfield = tmp<VolFieldType>::New(field);
|
||||
auto& rfield = trfield.ref();
|
||||
|
||||
Reference in New Issue
Block a user