The Dirichlet trace of the approximated function in a FE space. More...

#include <function.hh>

Inheritance diagram for hp2D::Trace< F, G >:
hp2D::ElementFunction< 1, Real, hp1D::Element< typename concepts::Realtype< Real >::type > > concepts::ElementFunction< Real, Q::type >

Public Types

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

Public Member Functions

concepts::Set< concepts::Attribute > & attrib ()
 Returns the attributes. More...
 
virtual Trace< F, G > * clone () const
 
virtual ElementFunction< Real, Q::type > * clone () const=0
 
virtual uint n () const
 Number of components. More...
 
virtual void operator() (const Element &elm, const concepts::Array< Real > &coeff, concepts::Array< Real > &val, const concepts::Real3d &p, const Real t=0.0) const
 
virtual void operator() (const Element &elm, const concepts::Array< Real > &coeff, concepts::Array< Real > &val, const Real p, const Real t=0.0) const
 
virtual void operator() (const Element &elm, const concepts::Array< Real > &coeff, concepts::Array< Real > &val, const Real2d &p, const Real t=0.0) const
 
virtual void operator() (const Element &elm, const concepts::Array< Real > &coeff, concepts::Array< Real > &val, const uint *i) const
 
virtual void operator() (const Element &elm, const uint *j, concepts::Array< Real > &val, const uint *i) const
 
virtual void operator() (const Element< Q::type > &elm, const Array< Real > &coeff, Array< Real > &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< Real > &coeff, Array< Real > &val, const Real2d &p, const Real t=0.0) const=0
 
virtual void operator() (const Element< Q::type > &elm, const Array< Real > &coeff, Array< Real > &val, const Real3d &p, const Real t=0.0) const=0
 
virtual void operator() (const Element< Q::type > &elm, const Array< Real > &coeff, Array< Real > &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< Real > &val, const uint *i) const=0
 Evaluates the given function on a specific shape function j (on precalculated quadrature points). More...
 
 Trace ()
 Constructor. More...
 
 Trace (const concepts::Attribute attrib)
 Constructor with given attribute. More...
 

Protected Member Functions

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

Private Member Functions

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

Private Attributes

concepts::Set< concepts::Attributeattrib_
 

Detailed Description

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
class hp2D::Trace< F, G >

The Dirichlet trace of the approximated function in a FE space.

The trace is only taken on edges with attribute in a given set.

Author
Kersten Schmidt, 2007

Definition at line 271 of file function.hh.

Member Typedef Documentation

◆ Element

typedef concepts::Element<typename Q::type> hp2D::ElementFunction< dim, Real , hp1D::Element< typename concepts::Realtype< Real >::type > >::Element
inherited

Definition at line 40 of file functionBase.hh.

Constructor & Destructor Documentation

◆ Trace() [1/2]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
hp2D::Trace< F, G >::Trace ( )
inline

Constructor.

Definition at line 274 of file function.hh.

◆ Trace() [2/2]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
hp2D::Trace< F, G >::Trace ( const concepts::Attribute  attrib)
inline

Constructor with given attribute.

Definition at line 276 of file function.hh.

Member Function Documentation

◆ attrib()

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
concepts::Set<concepts::Attribute>& hp2D::Trace< F, G >::attrib ( )
inline

Returns the attributes.

Definition at line 279 of file function.hh.

◆ clone() [1/2]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual Trace<F,G>* hp2D::Trace< F, G >::clone ( ) const
inlinevirtual

Definition at line 281 of file function.hh.

◆ clone() [2/2]

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

◆ compute_() [1/3]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp2D::Trace< F, G >::compute_ ( const hp1D::Element< G > &  elm,
const concepts::Array< F > &  coeff,
F &  val,
const Real2d &  p,
const Real  t = 0.0 
) const
privatevirtual

◆ compute_() [2/3]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp2D::Trace< F, G >::compute_ ( const hp1D::Element< G > &  elm,
const concepts::Array< F > &  coeff,
F &  val,
const uint  i[2] 
) const
privatevirtual

◆ compute_() [3/3]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp2D::Trace< F, G >::compute_ ( const hp1D::Element< G > &  elm,
const uint  j[2],
F &  val,
const uint  i[2] 
) const
privatevirtual

◆ info()

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual std::ostream& hp2D::Trace< F, G >::info ( std::ostream &  os) const
protectedvirtual

◆ n()

virtual uint hp2D::ElementFunction< dim, Real , hp1D::Element< typename concepts::Realtype< Real >::type > >::n
inlinevirtualinherited

Number of components.

Implements concepts::ElementFunction< Real, Q::type >.

Definition at line 43 of file functionBase.hh.

◆ operator()() [1/10]

void hp2D::ElementFunction< dim, Real , hp1D::Element< typename concepts::Realtype< Real >::type > >::operator() ( const Element elm,
const concepts::Array< Real > &  coeff,
concepts::Array< Real > &  val,
const concepts::Real3d p,
const Real  t = 0.0 
) const
virtualinherited

Definition at line 59 of file functionBase.hh.

◆ operator()() [2/10]

void hp2D::ElementFunction< dim, Real , hp1D::Element< typename concepts::Realtype< Real >::type > >::operator() ( const Element elm,
const concepts::Array< Real > &  coeff,
concepts::Array< Real > &  val,
const Real  p,
const Real  t = 0.0 
) const
virtualinherited

Definition at line 51 of file functionBase.hh.

◆ operator()() [3/10]

void hp2D::ElementFunction< dim, Real , hp1D::Element< typename concepts::Realtype< Real >::type > >::operator() ( const Element elm,
const concepts::Array< Real > &  coeff,
concepts::Array< Real > &  val,
const Real2d &  p,
const Real  t = 0.0 
) const
virtualinherited

Definition at line 55 of file functionBase.hh.

◆ operator()() [4/10]

void hp2D::ElementFunction< dim, Real , hp1D::Element< typename concepts::Realtype< Real >::type > >::operator() ( const Element elm,
const concepts::Array< Real > &  coeff,
concepts::Array< Real > &  val,
const uint *  i 
) const
virtualinherited

Definition at line 45 of file functionBase.hh.

◆ operator()() [5/10]

void hp2D::ElementFunction< dim, Real , hp1D::Element< typename concepts::Realtype< Real >::type > >::operator() ( const Element elm,
const uint *  j,
concepts::Array< Real > &  val,
const uint *  i 
) const
virtualinherited

Definition at line 48 of file functionBase.hh.

◆ operator()() [6/10]

virtual void concepts::ElementFunction< Real , Q::type >::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< Real , Q::type >::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< Real , Q::type >::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< Real , Q::type >::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< Real , Q::type >::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

Member Data Documentation

◆ attrib_

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
concepts::Set<concepts::Attribute> hp2D::Trace< F, G >::attrib_
private

Definition at line 289 of file function.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