concepts::ElementFunction< F, G > Class Template Referenceabstract

An abstract class for a function in a FE space. More...

#include <elementFormula.hh>

Public Member Functions

virtual ElementFunction< F, G > * clone () const =0
 
virtual uint n () const =0
 Number of components. More...
 
virtual void operator() (const Element< G > &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< G > &elm, const Array< F > &coeff, Array< F > &val, const Real2d &p, const Real t=0.0) const =0
 
virtual void operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real3d &p, const Real t=0.0) const =0
 
virtual void operator() (const Element< G > &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< G > &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...
 

Protected Member Functions

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

Detailed Description

template<class F, class G = typename Realtype<F>::type>
class concepts::ElementFunction< F, G >

An abstract class for a function in a FE space.

Author
Kersten Schmidt, 2004

Definition at line 25 of file elementFormula.hh.

Member Function Documentation

◆ clone()

template<class F , class G = typename Realtype<F>::type>
virtual ElementFunction<F,G>* concepts::ElementFunction< F, G >::clone ( ) const
pure virtual

◆ info()

◆ n()

◆ operator()() [1/5]

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

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()() [2/5]

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

◆ operator()() [3/5]

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

◆ operator()() [4/5]

template<class F , class G = typename Realtype<F>::type>
virtual void concepts::ElementFunction< F, G >::operator() ( const Element< G > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const uint *  i 
) const
pure virtual

Evaluates the function on precalculated quadrature points.

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

◆ operator()() [5/5]

template<class F , class G = typename Realtype<F>::type>
virtual void concepts::ElementFunction< F, G >::operator() ( const Element< G > &  elm,
const uint *  j,
Array< F > &  val,
const uint *  i 
) const
pure virtual

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 files:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich