STYLE: 80 char lines.

This commit is contained in:
graham
2010-07-28 16:42:53 +01:00
parent 4d870512a6
commit f26b8c1cc7
24 changed files with 167 additions and 65 deletions

View File

@ -59,7 +59,12 @@ volVectorField U
vector zT = swirlAxis;
vector yT = vector(0, zT.z(), -zT.y());
vector xT = vector(zT.y()*zT.y() + zT.z()*zT.z(), -zT.x()*zT.y(), -zT.x()*zT.z());
vector xT = vector
(
zT.y()*zT.y() + zT.z()*zT.z(),
-zT.x()*zT.y(),
-zT.x()*zT.z()
);
// if swirl is around (1, 0, 0) we have to find another transformation
if (mag(yT) < SMALL)