35 #ifndef sphericalTensorFieldField_H 36 #define sphericalTensorFieldField_H 41 #define TEMPLATE template<template<class> class Field> 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)
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.
Specialisation of FieldField<Field, T> for sphericalTensor.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
UNARY_FUNCTION(Type, Type, cmptMag, cmptMag)
High performance macro functions for Field<Type> algebra. These expand using either array element acc...
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)