hp2D::ElementFunction< 1, F, Q > Class Template Referenceabstract

#include <functionBase.hh>

Inheritance diagram for hp2D::ElementFunction< 1, F, Q >:
concepts::ElementFunction< F, Q::type >

Public Types

typedef concepts::Element< typename Q::type > Element
 

Public Member Functions

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

Private Member Functions

virtual void compute_ (const Q &elm, const concepts::Array< F > &coeff, F &val, const Real2d &p, const Real t) const =0
 
virtual void compute_ (const Q &elm, const concepts::Array< F > &coeff, F &val, const uint i[2]) const =0
 
virtual void compute_ (const Q &elm, const uint j[3], F &val, const uint i[2]) const =0
 

Detailed Description

template<typename F, typename Q>
class hp2D::ElementFunction< 1, F, Q >

Definition at line 140 of file functionBase.hh.

Member Typedef Documentation

◆ Element

template<typename F , typename Q >
typedef concepts::Element<typename Q::type> hp2D::ElementFunction< 1, F, Q >::Element

Definition at line 143 of file functionBase.hh.

Member Function Documentation

◆ clone()

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

◆ compute_() [1/3]

template<typename F , typename Q >
virtual void hp2D::ElementFunction< 1, F, Q >::compute_ ( const Q &  elm,
const concepts::Array< F > &  coeff,
F &  val,
const Real2d &  p,
const Real  t 
) const
privatepure virtual

◆ compute_() [2/3]

template<typename F , typename Q >
virtual void hp2D::ElementFunction< 1, F, Q >::compute_ ( const Q &  elm,
const concepts::Array< F > &  coeff,
F &  val,
const uint  i[2] 
) const
privatepure virtual

◆ compute_() [3/3]

template<typename F , typename Q >
virtual void hp2D::ElementFunction< 1, F, Q >::compute_ ( const Q &  elm,
const uint  j[3],
F &  val,
const uint  i[2] 
) const
privatepure virtual

◆ info()

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

Reimplemented in hp2D::Partial_yy< F, Q >, and hp2D::Partial_xx< F, Q >.

Definition at line 67 of file function.hh.

◆ n() [1/2]

template<typename F , typename Q >
virtual uint hp2D::ElementFunction< 1, F, Q >::n ( ) const
inlinevirtual

Number of components.

Definition at line 146 of file functionBase.hh.

◆ n() [2/2]

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

Number of components.

Implemented in hp2D::ElementFunction< 1, F, Quad< Real > >.

◆ operator()() [1/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const concepts::Real3d p,
const Real  t = 0.0 
) const
virtual

Definition at line 228 of file functionBase.hh.

◆ operator()() [2/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real  p,
const Real  t = 0.0 
) const
virtual

Definition at line 211 of file functionBase.hh.

◆ operator()() [3/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real2d &  p,
const Real  t = 0.0 
) const
virtual

Definition at line 220 of file functionBase.hh.

◆ operator()() [4/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const uint *  i 
) const
virtual

Definition at line 195 of file functionBase.hh.

◆ operator()() [5/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
F &  val,
const concepts::Real3d p,
const Real  t = 0.0 
) const
virtual

Definition at line 281 of file functionBase.hh.

◆ operator()() [6/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
F &  val,
const Real  p,
const Real  t = 0.0 
) const
virtual

Definition at line 262 of file functionBase.hh.

◆ operator()() [7/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
F &  val,
const Real2d &  p,
const Real  t = 0.0 
) const
virtual

Definition at line 270 of file functionBase.hh.

◆ operator()() [8/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
F &  val,
const uint *  i 
) const
virtual

Definition at line 239 of file functionBase.hh.

◆ operator()() [9/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const uint *  j,
concepts::Array< F > &  val,
const uint *  i 
) const
virtual

Definition at line 203 of file functionBase.hh.

◆ operator()() [10/15]

template<typename F , typename Q >
void hp2D::ElementFunction< 1, F, Q >::operator() ( const Element elm,
const uint *  j,
F &  val,
const uint *  i 
) const
virtual

Definition at line 251 of file functionBase.hh.

◆ operator()() [11/15]

virtual void concepts::ElementFunction< F, Q::type >::operator() ( const Element< Q::type > &  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()() [12/15]

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

◆ operator()() [13/15]

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

◆ operator()() [14/15]

virtual void concepts::ElementFunction< F, Q::type >::operator() ( const Element< Q::type > &  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()() [15/15]

virtual void concepts::ElementFunction< F, Q::type >::operator() ( const Element< Q::type > &  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