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(); clearGeom();
// Calculate transforms on mesh motion? // Clear transforms on mesh motion?
calcTransforms(); calcTransforms();
if (master()) if (master() && active())
{ {
shadow().clearGeom(); shadow().clearGeom();
shadow().calcTransforms(); shadow().calcTransforms();