diff --git a/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C b/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C index 184a7b2013..de8aeeed02 100644 --- a/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C +++ b/src/meshTools/coordinateSystems/coordinateRotation/cylindrical.C @@ -209,7 +209,7 @@ void Foam::cylindrical::updateCells vector dir = cc[celli] - origin_; dir /= mag(dir) + vSmall; - R[celli] = this->R(dir); + R[i] = this->R(dir); } }