mechanics::Stress3D< F, G > Class Template Referenceabstract

Element function for the stress in 3D. More...

#include <mechanics_stress.hh>

Inheritance diagram for mechanics::Stress3D< F, G >:
concepts::ElementFunction< F, Real >

Public Member Functions

virtual Stress3D< F, G > * clone () const
 
virtual ElementFunction< F, Real > * clone () const=0
 
virtual uint n () const
 
virtual uint n () const=0
 Number of components. More...
 
virtual void operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const Real p, const Real t=0.0) const
 
virtual void operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const Real2d &p, const Real t=0.0) const
 
virtual void operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const Real3d &p, const Real t=0.0) const
 
virtual void operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const uint *i) const
 
virtual void operator() (const concepts::Element< G > &elm, const uint *j, concepts::Array< F > &val, const uint *i) const
 
virtual void operator() (const Element< Real > &elm, const Array< F > &coeff, Array< F > &val, const Real p, const Real t=0.0) const=0
 Evaluates the function value in an arbitrary point p of physical space. More...
 
virtual void operator() (const Element< Real > &elm, const Array< F > &coeff, Array< F > &val, const Real2d &p, const Real t=0.0) const=0
 
virtual void operator() (const Element< Real > &elm, const Array< F > &coeff, Array< F > &val, const Real3d &p, const Real t=0.0) const=0
 
virtual void operator() (const Element< Real > &elm, const Array< F > &coeff, Array< F > &val, const uint *i) const=0
 Evaluates the function on precalculated quadrature points. More...
 
virtual void operator() (const Element< Real > &elm, const uint *j, Array< F > &val, const uint *i) const=0
 Evaluates the given function on a specific shape function j (on precalculated quadrature points). More...
 
 Stress3D (const F lambda, const F mu)
 
virtual ~Stress3D ()
 

Protected Member Functions

std::ostream & info (std::ostream &os) const
 

Private Member Functions

void process_ (concepts::Array< F > &stressVal, const concepts::Array< F > &strainVal) const
 

Private Attributes

const F lambda_
 
const F mu_
 

Detailed Description

template<class F, class G = Real>
class mechanics::Stress3D< F, G >

Element function for the stress in 3D.

The stress is given via Hooke's Law.

Author
Philipp Kliewe, 2013

Definition at line 26 of file mechanics_stress.hh.

Constructor & Destructor Documentation

◆ Stress3D()

template<class F , class G = Real>
mechanics::Stress3D< F, G >::Stress3D ( const F  lambda,
const F  mu 
)

◆ ~Stress3D()

template<class F , class G = Real>
virtual mechanics::Stress3D< F, G >::~Stress3D ( )
inlinevirtual

Definition at line 31 of file mechanics_stress.hh.

Member Function Documentation

◆ clone() [1/2]

template<class F , class G = Real>
virtual Stress3D<F,G>* mechanics::Stress3D< F, G >::clone ( ) const
inlinevirtual

Definition at line 33 of file mechanics_stress.hh.

◆ clone() [2/2]

virtual ElementFunction<F,Real >* concepts::ElementFunction< F, Real >::clone ( ) const
pure virtualinherited

◆ info()

template<class F , class G = Real>
std::ostream& mechanics::Stress3D< F, G >::info ( std::ostream &  os) const
inlineprotectedvirtual

Reimplemented from concepts::ElementFunction< F, Real >.

Definition at line 62 of file mechanics_stress.hh.

◆ n() [1/2]

template<class F , class G = Real>
virtual uint mechanics::Stress3D< F, G >::n ( ) const
inlinevirtual

Definition at line 38 of file mechanics_stress.hh.

◆ n() [2/2]

virtual uint concepts::ElementFunction< F, Real >::n ( ) const
pure virtualinherited

Number of components.

◆ operator()() [1/10]

template<class F , class G = Real>
virtual void mechanics::Stress3D< F, G >::operator() ( const concepts::Element< G > &  elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real  p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [2/10]

template<class F , class G = Real>
virtual void mechanics::Stress3D< F, G >::operator() ( const concepts::Element< G > &  elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real2d &  p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [3/10]

template<class F , class G = Real>
virtual void mechanics::Stress3D< F, G >::operator() ( const concepts::Element< G > &  elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real3d &  p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [4/10]

template<class F , class G = Real>
virtual void mechanics::Stress3D< F, G >::operator() ( const concepts::Element< G > &  elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const uint *  i 
) const
virtual

◆ operator()() [5/10]

template<class F , class G = Real>
virtual void mechanics::Stress3D< F, G >::operator() ( const concepts::Element< G > &  elm,
const uint *  j,
concepts::Array< F > &  val,
const uint *  i 
) const
virtual

◆ operator()() [6/10]

virtual void concepts::ElementFunction< F, Real >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the function value in an arbitrary point p of physical space.

Parameters
elmElement
coeffCoefficients of local shape functions
valFunction value
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [7/10]

virtual void concepts::ElementFunction< F, Real >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

◆ operator()() [8/10]

virtual void concepts::ElementFunction< F, Real >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

◆ operator()() [9/10]

virtual void concepts::ElementFunction< F, Real >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const uint *  i 
) const
pure virtualinherited

Evaluates the function on precalculated quadrature points.

Parameters
elmElement
coeffCoefficients of local shape functions
valFunction value
imulti-index of the quadrature point

◆ operator()() [10/10]

virtual void concepts::ElementFunction< F, Real >::operator() ( const Element< G > &  elm,
const uint *  j,
Array< F > &  val,
const uint *  i 
) const
pure virtualinherited

Evaluates the given function on a specific shape function j (on precalculated quadrature points).

Parameters
elmElement
jmulti-index of a shapefunction
valFunction value
imulti-index of the quadrature point

◆ process_()

template<class F , class G = Real>
void mechanics::Stress3D< F, G >::process_ ( concepts::Array< F > &  stressVal,
const concepts::Array< F > &  strainVal 
) const
private

Member Data Documentation

◆ lambda_

template<class F , class G = Real>
const F mechanics::Stress3D< F, G >::lambda_
private

Definition at line 68 of file mechanics_stress.hh.

◆ mu_

template<class F , class G = Real>
const F mechanics::Stress3D< F, G >::mu_
private

Definition at line 69 of file mechanics_stress.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich