35 #ifndef sphericalTensorField_H
36 #define sphericalTensorField_H
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
void divide(pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< scalar > &f2)
void tr(pointPatchField< scalar > &, const pointPatchField< tensor > &)
void inv(pointPatchField< tensor > &, const pointPatchField< tensor > &)
Field< sphericalTensor > sphericalTensorField
Specialisation of Field<T> for sphericalTensor.
void det(pointPatchField< scalar > &, const pointPatchField< tensor > &)