38 #ifndef sphericalTensorFieldField_H 39 #define sphericalTensorFieldField_H 44 #define TEMPLATE template<template<class> class Field> 55 template<
template<
class>
class Field,
class Cmpt>
58 FieldField<Field, SphericalTensor<Cmpt>>& result,
59 const FieldField<Field, Cmpt>& ii
63 template<
template<
class>
class Field,
class Cmpt>
66 const FieldField<Field, SphericalTensor<Cmpt>>&
input,
67 FieldField<Field, Cmpt>& ii
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
void divide(DimensionedField< Type, GeoMesh > &result, const DimensionedField< Type, GeoMesh > &f1, const DimensionedField< scalar, GeoMesh > &f2)
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
Zip together sphericalTensor field field from components.
dimensionedScalar det(const dimensionedSphericalTensor &dt)
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a DiagTensor as a SphericalTensor.
void unzip(const FieldField< Field, SphericalTensor< Cmpt >> &input, FieldField< Field, Cmpt > &ii)
Unzip sphericalTensor field field into components.
static Istream & input(Istream &is, IntRange< T > &range)
Specialisation of FieldField<Field, T> for sphericalTensor.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
Macro functions for FieldField<Type> algebra.
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)