Go to the documentation of this file.
56 scalar scale =
magSqr(tf1[0]);
59 magSqr(tf1[0].xx())/scale < SMALL,
60 magSqr(tf1[0].yy())/scale < SMALL,
61 magSqr(tf1[0].zz())/scale < SMALL
64 if (removeCmpts.
x() || removeCmpts.
y() || removeCmpts.
z())
70 tf1Plus +=
tensor(1,0,0,0,0,0,0,0,0);
75 tf1Plus +=
tensor(0,0,0,0,1,0,0,0,0);
80 tf1Plus +=
tensor(0,0,0,0,0,0,0,0,1);
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
static void clear(const tmp< Field< Type1 > > &tf1)
dimensionedTensor skew(const dimensionedTensor &dt)
A class for managing temporary objects.
dimensionedTensor eigenVectors(const dimensionedTensor &dt)
#define TFOR_ALL_F_OP_F(typeF1, f1, OP, typeF2, f2)
Tensor< scalar > tensor
Tensor of scalars.
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
#define TFOR_ALL_F_OP_FUNC_F(typeF1, f1, OP, FUNC, typeF2, f2)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
tmp< Field< tensor > > transformFieldMask< tensor >(const symmTensorField &)
Pre-declare SubField and related Field type.
dimensionedVector eigenValues(const dimensionedTensor &dt)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
static tmp< Field< TypeR > > New(const tmp< Field< Type1 > > &tf1)
SymmTensor< scalar > symmTensor
SymmTensor of scalars.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
Vector< scalar > vector
A scalar version of the templated Vector.
#define UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc, Dfunc)
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)
void hdual(pointPatchField< vector > &, const pointPatchField< tensor > &)
void clear() const
If object pointer points to valid object:
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)