Go to the documentation of this file.
38 #ifndef GeometricSymmTensorField_H
39 #define GeometricSymmTensorField_H
44 #define TEMPLATE template<template<class> class PatchField, class GeoMesh>
55 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
58 GeometricField<SymmTensor<Cmpt>, PatchField, GeoMesh>& result,
59 const GeometricField<Cmpt, PatchField, GeoMesh>& xx,
60 const GeometricField<Cmpt, PatchField, GeoMesh>& xy,
61 const GeometricField<Cmpt, PatchField, GeoMesh>& xz,
62 const GeometricField<Cmpt, PatchField, GeoMesh>& yy,
63 const GeometricField<Cmpt, PatchField, GeoMesh>& yz,
64 const GeometricField<Cmpt, PatchField, GeoMesh>& zz
68 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
71 const GeometricField<SymmTensor<Cmpt>, PatchField, GeoMesh>&
input,
72 GeometricField<Cmpt, PatchField, GeoMesh>& xx,
73 GeometricField<Cmpt, PatchField, GeoMesh>& xy,
74 GeometricField<Cmpt, PatchField, GeoMesh>& xz,
75 GeometricField<Cmpt, PatchField, GeoMesh>& yy,
76 GeometricField<Cmpt, PatchField, GeoMesh>& yz,
77 GeometricField<Cmpt, PatchField, GeoMesh>& zz
81 template<
class Cmpt,
template<
class>
class PatchField,
class GeoMesh>
84 const GeometricField<SymmTensor<Cmpt>, PatchField, GeoMesh>&
input,
85 GeometricField<Vector<Cmpt>, PatchField, GeoMesh>& result
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
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)
void dot(FieldField< Field1, typename innerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
SymmTensor specific part of the implementation of DimensionedField.
dimensionSet transform(const dimensionSet &ds)
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
dimensionedSymmTensor innerSqr(const dimensionedSymmTensor &dt)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
Vector< scalar > vector
A scalar version of the templated Vector.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
#define UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc, Dfunc)
static Istream & input(Istream &is, IntRange< T > &range)
void zip(FieldField< Field, SphericalTensor< Cmpt >> &result, const FieldField< Field, Cmpt > &ii)
void unzipDiag(const FieldField< Field, SymmTensor< Cmpt >> &input, FieldField< Field, Vector< Cmpt >> &result)
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)