55 #define defineTraits(Type, Prefix) \ 58 const char* const Foam::Tensor<Type>::vsType::componentNames[] = \ 66 const Foam::Tensor<Type> Foam::Tensor<Type>::vsType::zero \ 68 Tensor<Type>::uniform(0) \ 72 const Foam::Tensor<Type> Foam::Tensor<Type>::vsType::one \ 74 Tensor<Type>::uniform(1) \ 78 const Foam::Tensor<Type> Foam::Tensor<Type>::vsType::max \ 80 Tensor<Type>::uniform(Prefix##VGREAT) \ 84 const Foam::Tensor<Type> Foam::Tensor<Type>::vsType::min \ 86 Tensor<Type>::uniform(-Prefix##VGREAT) \ 90 const Foam::Tensor<Type> Foam::Tensor<Type>::vsType::rootMax \ 92 Tensor<Type>::uniform(Prefix##ROOTVGREAT) \ 96 const Foam::Tensor<Type> Foam::Tensor<Type>::vsType::rootMin \ 98 Tensor<Type>::uniform(-Prefix##ROOTVGREAT) \ 102 const Foam::Tensor<Type> Foam::Tensor<Type>::I \ #define defineTraits(Type, Prefix)
float floatScalar
A typedef for float.
double doubleScalar
A typedef for double.
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.