ENH: volRegion and volFieldValue - updated output name if operating on all cells

This commit is contained in:
Andrew Heather
2017-06-01 17:26:12 +01:00
parent 0a49f3efc7
commit f431a328d2
2 changed files with 15 additions and 5 deletions

View File

@ -83,6 +83,7 @@ Foam::functionObjects::volRegion::volRegion
? regionTypeNames_.read(dict.lookup("regionType"))
: vrtAll
),
regionName_(polyMesh::defaultRegion),
regionID_(-1)
{
read(dict);