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);
141 tmp<tensorField> tRes(
new tensorField(stf.size()));
150 const tmp<symmTensorField>& tstf
#define BINARY_TYPE_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define UNARY_OPERATOR(ReturnType, Type1, Op, OpFunc, Dfunc)
#define BINARY_OPERATOR(ReturnType, Type1, Type2, Op, OpName, OpFunc)
#define UNARY_FUNCTION(ReturnType, Type1, Func, Dfunc)
#define TFOR_ALL_F_OP_FUNC_F(typeF1, f1, OP, FUNC, typeF2, f2)
#define TFOR_ALL_F_OP_F(typeF1, f1, OP, typeF2, f2)
Pre-declare SubField and related Field type.
void size(const label)
Override size to be inconsistent with allocated storage.
void clear()
Clear the list, i.e. set size to zero.
Pre-declare related SubField type.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
bool empty() const
Return true if the UList is empty (ie, size() is zero)
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
void skew(pointPatchField< tensor > &, const pointPatchField< tensor > &)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
Tensor< scalar > tensor
Tensor of scalars.
void eigenValues(pointPatchField< vector > &, const pointPatchField< tensor > &)
SymmTensor< scalar > symmTensor
SymmTensor of scalars.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
void dev2(pointPatchField< tensor > &, const pointPatchField< tensor > &)
void divide(pointPatchField< Type > &f, const pointPatchField< Type > &f1, const pointPatchField< scalar > &f2)
void tr(pointPatchField< scalar > &, const pointPatchField< tensor > &)
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
Vector< scalar > vector
A scalar version of the templated Vector.
void inv(pointPatchField< tensor > &, const pointPatchField< tensor > &)
void dev(pointPatchField< tensor > &, const pointPatchField< tensor > &)
void symm(pointPatchField< tensor > &, const pointPatchField< tensor > &)
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
void hdual(pointPatchField< vector > &, const pointPatchField< tensor > &)
void det(pointPatchField< scalar > &, const pointPatchField< tensor > &)
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
tmp< Field< tensor > > transformFieldMask< tensor >(const symmTensorField &)
void twoSymm(pointPatchField< tensor > &, const pointPatchField< tensor > &)
void eigenVectors(pointPatchField< tensor > &, const pointPatchField< tensor > &)
tmp< DimensionedField< scalar, GeoMesh, Field > > magSqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)