hp3D::Grad< F, G > Class Template Referenceabstract

The gradient of an approximated function in a FE space. More...

#include <function.hh>

Inheritance diagram for hp3D::Grad< F, G >:
concepts::ElementFunction< F, Real >

Public Member Functions

virtual Grad< F, G > * clone () const
 
virtual ElementFunction< F, Real > * clone () const=0
 
virtual uint n () const
 Number of components. More...
 
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...
 
virtual ~Grad ()
 Destructor for the class with virtual memberfunctions. More...
 

Protected Member Functions

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

Detailed Description

template<class F, class G = Real>
class hp3D::Grad< F, G >

The gradient of an approximated function in a FE space.

Test:
test::functionEvaluation3d
Author
Christian Heier, 2013

Definition at line 93 of file function.hh.

Constructor & Destructor Documentation

◆ ~Grad()

template<class F , class G = Real>
virtual hp3D::Grad< F, G >::~Grad ( )
inlinevirtual

Destructor for the class with virtual memberfunctions.

Definition at line 98 of file function.hh.

Member Function Documentation

◆ clone() [1/2]

template<class F , class G = Real>
virtual Grad<F, G>* hp3D::Grad< F, G >::clone ( ) const
virtual

◆ clone() [2/2]

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

◆ info()

virtual std::ostream& concepts::ElementFunction< F, Real >::info ( std::ostream &  os) const
inlineprotectedvirtualinherited

◆ n() [1/2]

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

Number of components.

Definition at line 105 of file function.hh.

◆ n() [2/2]

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

Number of components.

◆ operator()() [1/10]

template<class F , class G = Real>
virtual void hp3D::Grad< 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 hp3D::Grad< 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 hp3D::Grad< 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 hp3D::Grad< 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 hp3D::Grad< 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< Real > &  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< Real > &  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< Real > &  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< Real > &  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< Real > &  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

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