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
@ -113,7 +113,8 @@ bool Foam::functionObjects::zeroGradient::read(const dictionary& dict)
|
||||
|
||||
Info<< type() << " fields: " << selectFields_ << nl;
|
||||
|
||||
resultName_ = dict.getOrDefault<word>("result", type() + "(@@)");
|
||||
resultName_ =
|
||||
dict.getOrDefault<word>("result", scopedName(type() + "(@@)"));
|
||||
|
||||
// Require '@@' token for result, unless a single (non-regex) source field
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user