Skip to content
Snippets Groups Projects
Commit 96671ec0 authored by Kutalmış Berçin's avatar Kutalmış Berçin
Browse files

BUG: volRegion: requireUpdate always remains true (fixes #2121)

parent f7537963
Branches
No related merge requests found
......@@ -60,6 +60,7 @@ void Foam::functionObjects::volRegion::calculateCache()
{
regionID_ = -1;
cellIds_.clear();
requireUpdate_ = false;
switch (regionType_)
{
......@@ -112,8 +113,6 @@ void Foam::functionObjects::volRegion::calculateCache()
<< " Region has no cells" << nl
<< exit(FatalError);
}
requireUpdate_ = false;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment