Go to the documentation of this file.
37 #ifndef diagTensorField_H
38 #define diagTensorField_H
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
void subtract(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
void diag(pointPatchField< vector > &, const pointPatchField< tensor > &)
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
Generic templated field type.
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Field< diagTensor > diagTensorField
Specialisation of Field<T> for diagTensor.
void add(FieldField< Field1, typename typeOfSum< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)