Class documentation of Concepts

Loading...
Searching...
No Matches
vectorial::ElementFunctionComponent< F, G > Class Template Referenceabstract

#include <function.hh>

Inheritance diagram for vectorial::ElementFunctionComponent< F, G >:
concepts::ElementFunction< F, G > concepts::OutputOperator

Public Member Functions

 ElementFunctionComponent (uint vdim, const concepts::ElementFunction< F, G > &fun, const uint component)
 
virtual ElementFunctionComponent< F, G > * clone () const
 
virtual uint n () const
 Number of components.
 
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 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 Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real p, const Real t=0.0) const =0
 
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
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

template<class F, class G = Real>
class vectorial::ElementFunctionComponent< F, G >

Element function for selecting one scalar component of the vectorial solution.

Author
Philipp Kliewe, 2013

Definition at line 91 of file function.hh.

Constructor & Destructor Documentation

◆ ~ElementFunctionComponent()

template<class F , class G = Real>
virtual vectorial::ElementFunctionComponent< F, G >::~ElementFunctionComponent ( )
inlinevirtual

Definition at line 97 of file function.hh.

Member Function Documentation

◆ clone()

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

Implements concepts::ElementFunction< F, G >.

Definition at line 99 of file function.hh.

◆ info()

template<class F , class G = Real>
virtual std::ostream & vectorial::ElementFunctionComponent< F, G >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

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

Definition at line 132 of file function.hh.

◆ n()

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

Number of components.

Implements concepts::ElementFunction< F, G >.

Definition at line 104 of file function.hh.

◆ operator()() [1/4]

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

Evaluates the function on precalculated quadrature points.

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

Implements concepts::ElementFunction< F, G >.

◆ operator()() [2/4]

template<class F , class G = Real>
virtual void vectorial::ElementFunctionComponent< F, G >::operator() ( const concepts::Element< G > &  elm,
const uint *  j,
concepts::Array< F > &  val,
const uint *  i 
) const
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

Implements concepts::ElementFunction< F, G >.

◆ operator()() [3/4]

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 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

Implemented in hp3D::Laplacian< F, G >, concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.

◆ operator()() [4/4]

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 virtualinherited

Implemented in hp3D::Laplacian< F, G >.


The documentation for this class was generated from the following file: