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)
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
dimensionedScalar det(const dimensionedSphericalTensor &dt)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
UNARY_FUNCTION(Type, Type, cmptMag, cmptMag)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
Field< sphericalTensor > sphericalTensorField
Specialisation of Field<T> for sphericalTensor.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)