64 const Cmpt txx,
const Cmpt txy,
68 this->
v_[
XX] = txx; this->
v_[
XY] = txy;
130 inline void Foam::SymmTensor2D<Cmpt>::operator=
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()
183 st.
xx()*v.
x() + st.
xy()*v.
y(),
184 st.
xy()*v.
x() + st.
yy()*v.
y()
196 v.
x()*st.
xx() + v.
y()*st.
xy(),
197 v.
x()*st.
xy() + v.
y()*st.
yy()
231 return st.
xx() + st.
yy();
239 return (1.0/2.0)*
tr(st);
302 return cof(st)/detst;
352 spt1.
ii() + st2.
xx(), st2.
xy(),
364 st1.
xx() + spt2.
ii(), st1.
xy(),
376 spt1.
ii() - st2.
xx(), -st2.
xy(),
388 st1.
xx() - spt2.
ii(), st1.
xy(),
401 spt1.
ii()*st2.
xx(), spt1.
ii()*st2.
xy(),
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(),
Cmpt invariantII(const SymmTensor< Cmpt > &st)
Return the 2nd invariant of a symmetric tensor.
SymmTensor2D< Cmpt > type
SymmTensor2D< Cmpt > type
SymmTensor2D< Cmpt > type
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
dimensionedScalar det(const dimensionedSphericalTensor &dt)
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
SymmTensor2D()
Construct null.
SymmTensor2D< Cmpt > type
Templated 2D tensor derived from VectorSpace adding construction from 4 components, element access using xx(), xy(), yx() and yy() member functions and the iner-product (dot-product) and outer-product of two Vector2Ds (tensor-product) operators.
SymmTensor2D< Cmpt > type
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
tmp< GeometricField< Type, fvPatchField, volMesh > > operator &(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
dimensionSet operator &&(const dimensionSet &, const dimensionSet &)
dimensionedSymmTensor dev(const dimensionedSymmTensor &dt)
SymmTensor2D< Cmpt > type
Cmpt invariantIII(const SymmTensor< Cmpt > &st)
Return the 3rd invariant of a symmetric tensor.
const SymmTensor2D< Cmpt > & T() const
Transpose.
tmp< fvMatrix< Type > > operator-(const fvMatrix< Type > &)
dimensionedScalar tr(const dimensionedSphericalTensor &dt)
tmp< fvMatrix< Type > > operator+(const fvMatrix< Type > &, const fvMatrix< Type > &)
dimensioned< scalar > magSqr(const dimensioned< Type > &)
dimensionedSymmTensor innerSqr(const dimensionedSymmTensor &dt)
dimensionedSymmTensor dev2(const dimensionedSymmTensor &dt)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
Templated 2D sphericalTensor derived from VectorSpace adding construction from 1 component, element access using ii() member function and the inner-product (dot-product) and outer-product operators.
Cmpt invariantI(const SymmTensor< Cmpt > &st)
Return the 1st invariant of a symmetric tensor.
Templated 2D symmetric tensor derived from VectorSpace adding construction from 4 components...
VectorSpace< SymmTensor2D< Cmpt >, Cmpt, Ncmpts > vsType
VectorSpace type.
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
Templated 2D Vector derived from VectorSpace adding construction from 2 components, element access using x() and y() member functions and the inner-product (dot-product).
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
Cmpt v_[Ncmpts]
The components of this vector space.