Fixed evaluation problem when regionCoupling is inactive

This commit is contained in:
Hrvoje Jasak 2018-07-06 10:08:24 +01:00
parent e01e16c943
commit 304d230d1a

View file

@ -1114,10 +1114,10 @@ void Foam::regionCouplePolyPatch::initMovePoints(const pointField& p)
{
clearGeom();
// Calculate transforms on mesh motion?
// Clear transforms on mesh motion?
calcTransforms();
if (master())
if (master() && active())
{
shadow().clearGeom();
shadow().calcTransforms();