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);
134 tmp<tensorField> tRes(
new tensorField(stf.size()));
143 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 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.
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.
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
SphericalTensor< scalar > sphericalTensor
SphericalTensor of scalars.
dimensionedTensor eigenVectors(const dimensionedTensor &dt)
Tensor< scalar > tensor
Tensor of scalars.
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
SymmTensor< scalar > symmTensor
SymmTensor of scalars.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
UNARY_FUNCTION(Type, Type, cmptMag, cmptMag)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
Vector< scalar > vector
A scalar version of the templated Vector.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
dimensionedVector eigenValues(const dimensionedTensor &dt)
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
void hdual(pointPatchField< vector > &, const pointPatchField< tensor > &)
Field< tensor > tensorField
Specialisation of Field<T> for tensor.
tmp< Field< tensor > > transformFieldMask< tensor >(const symmTensorField &)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
dimensionedTensor skew(const dimensionedTensor &dt)