56 this->v_[XX] = st.
ii(); this->v_[XY] = 0;
57 this->v_[YY] = st.
ii();
64 const Cmpt txx,
const Cmpt txy,
68 this->v_[XX] = txx; this->v_[XY] = txy;
135 this->v_[XX] = st.ii(); this->v_[XY] = 0;
136 this->v_[YY] = st.ii();
154 st1.
xx()*st2.
xx() + st1.
xy()*st2.
xy(),
155 st1.
xx()*st2.
xy() + st1.
xy()*st2.
yy(),
157 st1.
xy()*st2.
xx() + st1.
yy()*st2.
xy(),
158 st1.
xy()*st2.
xy() + st1.
yy()*st2.
yy()
170 st1.
xx()*st2.
xx() + 2*st1.
xy()*st2.
xy()
178 inline Vector2D<Cmpt>
183 st.
xx()*v.
x() + st.
xy()*v.
y(),
184 st.
xy()*v.
x() + st.
yy()*v.
y()
191 inline Vector2D<Cmpt>
196 v.
x()*st.
xx() + v.
y()*st.
xy(),
197 v.
x()*st.
xy() + v.
y()*st.
yy()
204 inline SymmTensor2D<Cmpt>
231 return st.
xx() + st.
yy();
239 return (1.0/2.0)*
tr(st);
302 return cof(st)/detst;
347 inline SymmTensor2D<Cmpt>
352 spt1.
ii() + st2.
xx(), st2.
xy(),
359 inline SymmTensor2D<Cmpt>
364 st1.
xx() + spt2.
ii(), st1.
xy(),
371 inline SymmTensor2D<Cmpt>
376 spt1.
ii() - st2.
xx(), -st2.
xy(),
383 inline SymmTensor2D<Cmpt>
388 st1.
xx() - spt2.
ii(), st1.
xy(),
396 inline SymmTensor2D<Cmpt>
401 spt1.
ii()*st2.
xx(), spt1.
ii()*st2.
xy(),
409 inline SymmTensor2D<Cmpt>
414 st1.
xx()*spt2.
ii(), st1.
xy()*spt2.
ii(),
425 return(spt1.
ii()*st2.
xx() + spt1.
ii()*st2.
yy());
434 return(st1.
xx()*spt2.
ii() + st1.
yy()*spt2.
ii());
443 v.
x()*v.
x(), v.
x()*v.
y(),
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Templated 2D sphericalTensor derived from VectorSpace adding construction from 1 component,...
Templated 2D symmetric tensor derived from VectorSpace adding construction from 4 components,...
SymmTensor2D()
Construct null.
const SymmTensor2D< Cmpt > & T() const
Transpose.
Templated 2D tensor derived from VectorSpace adding construction from 4 components,...
Templated 2D Vector derived from VectorSpace adding construction from 2 components,...
SymmTensor2D< Cmpt > type
SymmTensor2D< Cmpt > type
SymmTensor2D< Cmpt > type
SymmTensor2D< Cmpt > type
SymmTensor2D< Cmpt > type
SymmTensor2D< Cmpt > type
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Cmpt invariantI(const SymmTensor< Cmpt > &st)
Return the 1st invariant of a symmetric tensor.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
tmp< DimensionedField< typename typeOfSum< Type1, Type2 >::type, GeoMesh, Field > > operator+(const DimensionedField< Type1, GeoMesh, PrimitiveField1 > &df1, const DimensionedField< Type2, GeoMesh, PrimitiveField2 > &df2)
void dev2(pointPatchField< tensor > &, const pointPatchField< tensor > &)
Cmpt invariantIII(const SymmTensor< Cmpt > &st)
Return the 3rd invariant of a symmetric tensor.
void tr(pointPatchField< scalar > &, const pointPatchField< tensor > &)
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< Type, GeoMesh, Field > > operator-(const DimensionedField< Type, GeoMesh, PrimitiveField > &df1)
void inv(pointPatchField< tensor > &, const pointPatchField< tensor > &)
void dev(pointPatchField< tensor > &, const pointPatchField< tensor > &)
tmp< DimensionedField< typename scalarProduct< Type1, Type2 >::type, GeoMesh, Field > > operator&&(const DimensionedField< Type1, GeoMesh, PrimitiveField1 > &df1, const DimensionedField< Type2, GeoMesh, PrimitiveField2 > &df2)
Cmpt invariantII(const SymmTensor< Cmpt > &st)
Return the 2nd invariant of a symmetric tensor.
void symm(pointPatchField< tensor > &, const pointPatchField< tensor > &)
void det(pointPatchField< scalar > &, const pointPatchField< tensor > &)
void twoSymm(pointPatchField< tensor > &, const pointPatchField< tensor > &)
dimensionedSymmTensor innerSqr(const dimensionedSymmTensor &dt)
tmp< DimensionedField< scalar, GeoMesh, Field > > magSqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< typename innerProduct< Type1, Type2 >::type, GeoMesh, Field > > operator&(const DimensionedField< Type1, GeoMesh, PrimitiveField1 > &df1, const DimensionedField< Type2, GeoMesh, PrimitiveField2 > &df2)