53 this->v_[XX] = st.
xx(); this->v_[XY] = st.
xy();
54 this->v_[YX] = st.
xy(); this->v_[YY] = st.
yy();
61 this->v_[XX] = st.
ii(); this->v_[XY] = 0;
62 this->v_[YX] = 0; this->v_[YY] = st.
ii();
73 this->v_[XX] =
x.x(); this->v_[XY] =
x.y();
74 this->v_[YX] =
y.x(); this->v_[YY] =
y.y();
81 const Cmpt txx,
const Cmpt txy,
82 const Cmpt tyx,
const Cmpt tyy
85 this->v_[XX] = txx; this->v_[XY] = txy;
86 this->v_[YX] = tyx; this->v_[YY] = tyy;
178 this->v_[XX] = st.
xx(); this->v_[XY] = st.
xy();
179 this->v_[YX] = st.
xy(); this->v_[YY] = st.
yy();
186 this->v_[XX] = st.
ii(); this->v_[XY] = 0;
187 this->v_[YX] = 0; this->v_[YY] = st.
ii();
215 inline typename innerProduct<Tensor2D<Cmpt>, Vector2D<Cmpt>>
::type
220 t.
xx()*v.
x() + t.
xy()*v.
y(),
221 t.
yx()*v.
x() + t.
yy()*v.
y()
227 inline typename innerProduct<Vector2D<Cmpt>, Tensor2D<Cmpt>>
::type
232 v.
x()*t.
xx() + v.
y()*t.
yx(),
233 v.
x()*t.
xy() + v.
y()*t.
yy()
239 inline typename outerProduct<Vector2D<Cmpt>, Vector2D<Cmpt>>
::type
244 v1.
x()*v2.
x(), v1.
x()*v2.
y(),
245 v1.
y()*v2.
x(), v1.
y()*v2.
y()
254 return t.
xx() + t.
yy();
272 t.
xx(), 0.5*(t.
xy() + t.
yx()),
294 0.0, 0.5*(t.
xy() - t.
yx()),
295 0.5*(t.
yx() - t.
xy()), 0.0
320 return(t.
xx()*t.
yy() - t.
xy()*t.
yx());
387 inline Tensor2D<Cmpt>
392 st1.
ii() + t2.
xx(), t2.
xy(),
393 t2.
yx(), st1.
ii() + t2.
yy()
399 inline Tensor2D<Cmpt>
404 t1.
xx() + st2.
ii(), t1.
xy(),
405 t1.
yx(), t1.
yy() + st2.
ii()
411 inline Tensor2D<Cmpt>
416 st1.
ii() - t2.
xx(), -t2.
xy(),
417 -t2.
yx(), st1.
ii() - t2.
yy()
423 inline Tensor2D<Cmpt>
428 t1.
xx() - st2.
ii(), t1.
xy(),
429 t1.
yx(), t1.
yy() - st2.
ii()
436 inline Tensor2D<Cmpt>
451 inline Tensor2D<Cmpt>
470 return(st1.
ii()*t2.
xx() + st1.
ii()*t2.
yy());
479 return(t1.
xx()*st2.
ii() + t1.
yy()*st2.
ii());
486 inline Tensor2D<Cmpt>
491 st1.
xx() + t2.
xx(), st1.
xy() + t2.
xy(),
492 st1.
xy() + t2.
yx(), st1.
yy() + t2.
yy()
498 inline Tensor2D<Cmpt>
503 t1.
xx() + st2.
xx(), t1.
xy() + st2.
xy(),
504 t1.
yx() + st2.
xy(), t1.
yy() + st2.
yy()
510 inline Tensor2D<Cmpt>
515 st1.
xx() - t2.
xx(), st1.
xy() - t2.
xy(),
516 st1.
xy() - t2.
yx(), st1.
yy() - t2.
yy()
522 inline Tensor2D<Cmpt>
527 t1.
xx() - st2.
xx(), t1.
xy() - st2.
xy(),
528 t1.
yx() - st2.
xy(), t1.
yy() - st2.
yy()
535 inline Tensor2D<Cmpt>
540 st1.
xx()*t2.
xx() + st1.
xy()*t2.
yx(),
541 st1.
xx()*t2.
xy() + st1.
xy()*t2.
yy(),
543 st1.
xy()*t2.
xx() + st1.
yy()*t2.
yx(),
551 inline Tensor2D<Cmpt>
556 t1.
xx()*st2.
xx() + t1.
xy()*st2.
xy(),
557 t1.
xx()*st2.
xy() + t1.
xy()*st2.
yy(),
559 t1.
yx()*st2.
xx() + t1.
yy()*st2.
xy(),
573 + st1.
xy()*t2.
yx() + st1.
yy()*t2.
yy()
586 + t1.
yx()*st2.
xy() + t1.
yy()*st2.
yy()
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,...
Templated 2D tensor derived from VectorSpace adding construction from 4 components,...
Vector2D< Cmpt > y() const
Vector2D< Cmpt > x() const
Tensor2D< Cmpt > T() const
Transpose.
void operator=(const SymmTensor2D< Cmpt > &)
Copy SymmTensor2D.
Tensor2D()
Construct null.
Templated 2D Vector derived from VectorSpace adding construction from 2 components,...
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...
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)
Cmpt invariantI(const SymmTensor< Cmpt > &st)
Return the 1st invariant of a symmetric tensor.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedSymmTensor twoSymm(const dimensionedSymmTensor &dt)
SphericalTensor< Cmpt > sph(const DiagTensor< Cmpt > &dt)
Return the spherical part of a diagonal tensor.
Cmpt invariantIII(const SymmTensor< Cmpt > &st)
Return the 3rd invariant of a symmetric tensor.
dimensionedSymmTensor cof(const dimensionedSymmTensor &dt)
Cmpt invariantII(const SymmTensor< Cmpt > &st)
Return the 2nd invariant of a symmetric tensor.
tmp< VolField< Type > > operator&(const fvMatrix< Type > &, const DimensionedField< Type, volMesh > &)
tmp< fvMatrix< Type > > operator*(const volScalarField::Internal &, const fvMatrix< Type > &)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
tmp< fvMatrix< Type > > operator+(const fvMatrix< Type > &, const fvMatrix< Type > &)
tmp< fvMatrix< Type > > operator-(const fvMatrix< Type > &)
dimensionedTensor skew(const dimensionedTensor &dt)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
dimensioned< typename scalarProduct< Type1, Type2 >::type > operator&&(const dimensioned< Type1 > &, const dimensioned< Type2 > &)