coordinateSystems::cylindrical: Corrected addressing of the rotation tensor for a cellZone

This commit is contained in:
Will Bainbridge
2019-04-24 11:25:12 +01:00
parent f3fb9b38c1
commit cdc437913a

View File

@ -318,8 +318,7 @@ Foam::tmp<Foam::tensorField> Foam::cylindrical::transformTensor
tensorField& t = tt.ref();
forAll(cellMap, i)
{
const label celli = cellMap[i];
t[i] = R[celli] & tf[i] & Rtr[celli];
t[i] = R[i] & tf[i] & Rtr[i];
}
return tt;