Go to the documentation of this file.
34 #define TEMPLATE template<template<class> class Field>
39 template<
template<
class>
class Field,
class Cmpt>
53 template<
template<
class>
class Field,
class Cmpt>
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
void unzip(const FieldField< Field, SphericalTensor< Cmpt >> &input, FieldField< Field, Cmpt > &ii)
Unzip sphericalTensor field field into components.
A field of fields is a PtrList of fields with reference counting.
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define forAll(list, i)
Loop across all elements in list.
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
Generic templated field type.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
Specialisation of FieldField<Field, T> for sphericalTensor.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a DiagTensor as a SphericalTensor.
A templated (3 x 3) diagonal tensor of objects of <T>, effectively containing 1 element,...
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
Zip together sphericalTensor field field from components.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)