ENH: add set/zone support to randomise function object (#2086)
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||
Copyright (C) 2015-2020 OpenCFD Ltd.
|
||||
Copyright (C) 2015-2021 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -336,7 +336,7 @@ Foam::functionObjects::fieldValues::volFieldValue::filterField
|
||||
const Field<Type>& field
|
||||
) const
|
||||
{
|
||||
if (volRegion::vrtAll == this->volRegion::regionType())
|
||||
if (this->volRegion::useAllCells())
|
||||
{
|
||||
return field;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user