Go to the documentation of this file.
58 this->v_[XX] = st.
ii(); this->v_[XY] = 0;
59 this->v_[YY] = st.
ii();
66 const Cmpt txx,
const Cmpt txy,
70 this->v_[XX] = txx; this->v_[XY] = txy;
132 this->v_[XX] = v.
x(); this->v_[YY] = v.
y();
151 this->v_[XX] = st.ii(); this->v_[XY] = 0;
152 this->v_[YY] = st.ii();
170 st1.
xx()*st2.
xx() + st1.
xy()*st2.
xy(),
171 st1.
xx()*st2.
xy() + st1.
xy()*st2.
yy(),
173 st1.
xy()*st2.
xx() + st1.
yy()*st2.
xy(),
174 st1.
xy()*st2.
xy() + st1.
yy()*st2.
yy()
186 st1.
xx()*st2.
xx() + 2*st1.
xy()*st2.
xy()
194 inline Vector2D<Cmpt>
199 st.
xx()*v.
x() + st.
xy()*v.
y(),
200 st.
xy()*v.
x() + st.
yy()*v.
y()
207 inline Vector2D<Cmpt>
212 v.
x()*st.
xx() + v.
y()*st.
xy(),
213 v.
x()*st.
xy() + v.
y()*st.
yy()
220 inline SymmTensor2D<Cmpt>
247 return st.
xx() + st.
yy();
255 return (1.0/2.0)*
tr(st);
318 return cof(st)/detst;
363 inline SymmTensor2D<Cmpt>
368 spt1.
ii() + st2.
xx(), st2.
xy(),
375 inline SymmTensor2D<Cmpt>
380 st1.
xx() + spt2.
ii(), st1.
xy(),
387 inline SymmTensor2D<Cmpt>
392 spt1.
ii() - st2.
xx(), -st2.
xy(),
399 inline SymmTensor2D<Cmpt>
404 st1.
xx() - spt2.
ii(), st1.
xy(),
412 inline SymmTensor2D<Cmpt>
417 spt1.
ii()*st2.
xx(), spt1.
ii()*st2.
xy(),
425 inline SymmTensor2D<Cmpt>
430 st1.
xx()*spt2.
ii(), st1.
xy()*spt2.
ii(),
441 return(spt1.
ii()*st2.
xx() + spt1.
ii()*st2.
yy());
450 return(st1.
xx()*spt2.
ii() + st1.
yy()*spt2.
ii());
459 v.
x()*v.
x(), v.
x()*v.
y(),
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
SymmTensor2D()
Construct null.
Cmpt invariantIII(const SymmTensor< Cmpt > &st)
Return the 3rd invariant of a symmetric tensor.
tmp< GeometricField< Type, fvPatchField, volMesh > > operator&(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
Cmpt invariantI(const SymmTensor< Cmpt > &st)
Return the 1st invariant of a symmetric tensor.
static constexpr const zero Zero
Global zero.
Templated 2D symmetric tensor derived from VectorSpace adding construction from 4 components,...
tmp< faMatrix< Type > > operator-(const faMatrix< Type > &)
SymmTensor2D< Cmpt > type
Templated 2D Vector derived from VectorSpace adding construction from 2 components,...
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
dimensionedSymmTensor innerSqr(const dimensionedSymmTensor &dt)
SymmTensor2D< Cmpt > type
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
Templated 2D tensor derived from VectorSpace adding construction from 4 components,...
SymmTensor2D< Cmpt > type
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
Vector2D< Cmpt > diag() const
Extract the diagonal as a vector.
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
VectorSpace< SymmTensor2D< Cmpt >, Cmpt, Ncmpts > vsType
VectorSpace type.
dimensioned< typename scalarProduct< Type1, Type2 >::type > operator&&(const dimensioned< Type1 > &, const dimensioned< Type2 > &)
Cmpt invariantII(const SymmTensor< Cmpt > &st)
Return the 2nd invariant of a symmetric tensor.
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
const SymmTensor2D< Cmpt > & T() const
Transpose.
SymmTensor2D< Cmpt > type
dimensionedSymmTensor sqr(const dimensionedVector &dv)
SymmTensor2D< Cmpt > type
SymmTensor2D< Cmpt > type
tmp< faMatrix< Type > > operator+(const faMatrix< Type > &, const faMatrix< Type > &)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
dimensionedScalar det(const dimensionedSphericalTensor &dt)
const Cmpt & y() const
Access to the vector y component.
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
const Cmpt & x() const
Access to the vector x component.
Templated 2D sphericalTensor derived from VectorSpace adding construction from 1 component,...
A class representing the concept of 0 (zero), which can be used to avoid manipulating objects that ar...
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)