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>
56 const FieldField<Field, SphericalTensor<Cmpt>>&
input,
57 FieldField<Field, Cmpt>& ii
#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)
A field of fields is a PtrList of fields with reference counting.
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
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)
A templated (3 x 3) diagonal tensor of objects of <T>, effectively containing 1 element,...
static Istream & input(Istream &is, IntRange< T > &range)
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)