19 n1n2[0] /=
mag(n1n2[0]);
20 n1n2[1] /=
mag(n1n2[1]);
61 transformer::scaling(
diagTensor(v.x(), v.y(), v.z()))
void printUsage() const
Print usage.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
scalar degToRad(const scalar deg)
Convert degrees to radians.
tensor rotationTensor(const vector &n1, const vector &n2)
Rotational transformation tensor from unit vector n1 to n2.
tensor Ra(const vector &a, const scalar omega)
Rotational transformation tensor about axis a by omega radians.
tensor Rx(const scalar &omega)
Rotational transformation tensor about the x-axis by omega radians.
labelList second(const UList< labelPair > &p)
tensor Ry(const scalar &omega)
Rotational transformation tensor about the y-axis by omega radians.
labelList first(const UList< labelPair > &p)
DiagTensor< scalar > diagTensor
A scalar version of the templated DiagTensor.
Vector< scalar > vector
A scalar version of the templated Vector.
dimensioned< scalar > mag(const dimensioned< Type > &)
List< wordRe > wordReList
A List of wordRe (word or regular expression)
tensor Rz(const scalar &omega)
Rotational transformation tensor about the z-axis by omega radians.
Foam::argList args(argc, argv)