60 scalar scale =
magSqr(tf1[0]);
63 magSqr(tf1[0].xx())/scale < SMALL,
64 magSqr(tf1[0].yy())/scale < SMALL,
65 magSqr(tf1[0].zz())/scale < SMALL
68 if (removeCmpts.
x() || removeCmpts.
y() || removeCmpts.
z())
74 tf1Plus +=
tensor(1,0,0,0,0,0,0,0,0);
79 tf1Plus +=
tensor(0,0,0,0,1,0,0,0,0);
84 tf1Plus +=
tensor(0,0,0,0,0,0,0,0,1);
91 tf -=
tensor(1,0,0,0,0,0,0,0,0);
96 tf -=
tensor(0,0,0,0,1,0,0,0,0);
101 tf -=
tensor(0,0,0,0,0,0,0,0,1);
120 inv(tres.ref(), tf());
136 auto& res = tres.ref();
144 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)
Generic templated field type.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n)
Older name for setAddressableSize.
Templated 3D Vector derived from VectorSpace adding construction from 3 components,...
const Cmpt & z() const
Access to the vector z component.
const Cmpt & y() const
Access to the vector y component.
const Cmpt & x() const
Access to the vector x component.
Tensor of scalars, i.e. Tensor<scalar>.
A class for managing temporary objects.
void clear() const noexcept
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
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, i.e. SphericalTensor<scalar>.
dimensionedTensor eigenVectors(const dimensionedSymmTensor &dt)
dimensionedVector eigenValues(const dimensionedSymmTensor &dt)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
SymmTensor< scalar > symmTensor
SymmTensor of scalars, i.e. SymmTensor<scalar>.
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
void hdual(pointPatchField< vector > &, const pointPatchField< tensor > &)
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a DiagTensor as a SphericalTensor.
Field< symmTensor > symmTensorField
Specialisation of Field<T> for symmTensor.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
tmp< Field< tensor > > transformFieldMask< tensor >(const symmTensorField &)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
void divide(FieldField< Field, Type > &f, const FieldField< Field, Type > &f1, const FieldField< Field, scalar > &f2)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
dimensionedTensor skew(const dimensionedTensor &dt)