Go to the documentation of this file.
35 #ifndef diagTensorField_H
36 #define diagTensorField_H
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
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)
Pre-declare SubField and related 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)
Return the spherical part of a diagonal tensor.
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)
Templated 3D SphericalTensor derived from VectorSpace adding construction from 1 component,...
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)