mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: fieldExpression - added verbose flag to foundObject
This commit is contained in:
@ -33,11 +33,11 @@ bool Foam::functionObjects::randomise::calcRandomised()
|
||||
{
|
||||
typedef GeometricField<Type, fvPatchField, volMesh> VolFieldType;
|
||||
|
||||
if (foundObject<VolFieldType>(fieldName_))
|
||||
if (foundObject<VolFieldType>(fieldName_, false))
|
||||
{
|
||||
const VolFieldType& field = lookupObject<VolFieldType>(fieldName_);
|
||||
|
||||
resultName_ = fieldName_ + "Random";
|
||||
resultName_ = fieldName_ & "Random";
|
||||
|
||||
tmp<VolFieldType> rfieldt(new VolFieldType(field));
|
||||
VolFieldType& rfield = rfieldt.ref();
|
||||
|
||||
Reference in New Issue
Block a user