38#ifndef GeometricSphericalTensorField_H
39#define GeometricSphericalTensorField_H
44#define TEMPLATE template<template<class> class PatchField, class GeoMesh>
53template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
56 GeometricField<SphericalTensor<Cmpt>, PatchField, GeoMesh>& result,
57 const GeometricField<Cmpt, PatchField, GeoMesh>& ii
62template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
65 const GeometricField<SphericalTensor<Cmpt>, PatchField, GeoMesh>&
input,
66 GeometricField<Cmpt, PatchField, GeoMesh>& ii
#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)
dimensionedScalar det(const dimensionedSphericalTensor &dt)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
dimensionSet transform(const dimensionSet &ds)
Return the argument; transformations do not change the dimensions.
static Istream & input(Istream &is, IntRange< T > &range)
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.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
void zip(FieldField< Field, SphericalTensor< Cmpt > > &result, const FieldField< Field, Cmpt > &ii)
Zip together sphericalTensor field field from components.