Go to the documentation of this file.
34 #define TEMPLATE template<template<class> class Field>
39 template<
template<
class>
class Field,
class Cmpt>
67 template<
template<
class>
class Field,
class Cmpt>
95 template<
template<
class>
class Field,
class Cmpt>
111 template<
template<
class>
class Field,
class Cmpt>
127 template<
template<
class>
class Field,
class Cmpt>
143 template<
template<
class>
class Field,
class Cmpt>
159 template<
template<
class>
class Field,
class Cmpt>
163 const vector::components cmpt,
174 template<
template<
class>
class Field,
class Cmpt>
178 const vector::components cmpt,
189 template<
template<
class>
class Field,
class Cmpt>
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars, i.e. SphericalTensor<scalar>.
void zipCols(FieldField< Field, Tensor< Cmpt >> &result, const FieldField< Field, Vector< Cmpt >> &x, const FieldField< Field, Vector< Cmpt >> &y, const FieldField< Field, Vector< Cmpt >> &z)
Zip together tensor field from column components.
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
void unzipRows(const FieldField< Field, Tensor< Cmpt >> &input, FieldField< Field, Vector< Cmpt >> &x, FieldField< Field, Vector< Cmpt >> &y, FieldField< Field, Vector< Cmpt >> &z)
Extract tensor field field rows.
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.
dimensionedTensor skew(const dimensionedTensor &dt)
dimensionedVector eigenValues(const dimensionedSymmTensor &dt)
dimensionedTensor eigenVectors(const dimensionedSymmTensor &dt)
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
Specialisation of FieldField<T> for tensor.
void unzipRow(const FieldField< Field, Tensor< Cmpt >> &input, const vector::components cmpt, FieldField< Field, Vector< Cmpt >> &result)
Extract a tensor field field row (x,y,z) == (0,1,2)
void zipRows(FieldField< Field, Tensor< Cmpt >> &result, const FieldField< Field, Vector< Cmpt >> &x, const FieldField< Field, Vector< Cmpt >> &y, const FieldField< Field, Vector< Cmpt >> &z)
Zip together tensor field field from row components.
void unzipCols(const FieldField< Field, Tensor< Cmpt >> &input, FieldField< Field, Vector< Cmpt >> &x, FieldField< Field, Vector< Cmpt >> &y, FieldField< Field, Vector< Cmpt >> &z)
Extract tensor field field columns.
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
#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)
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a DiagTensor as a SphericalTensor.
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
Vector< scalar > vector
A scalar version of the templated Vector.
void unzipCol(const FieldField< Field, Tensor< Cmpt >> &input, const vector::components cmpt, FieldField< Field, Vector< Cmpt >> &result)
Extract a tensor field field column (x,y,z) == (0,1,2)
#define UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc, Dfunc)
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
static Istream & input(Istream &is, IntRange< T > &range)
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
Zip together sphericalTensor field field from components.
void unzipDiag(const FieldField< Field, SymmTensor< Cmpt >> &input, FieldField< Field, Vector< Cmpt >> &result)
Extract a symmTensor field field diagonal.
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)
void hdual(pointPatchField< vector > &, const pointPatchField< tensor > &)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
Tensor< scalar > tensor
Tensor of scalars, i.e. Tensor<scalar>.
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)