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