hp2D::Value< F, G > Class Template Referenceabstract

The approximated function in a FE space. More...

#include <function.hh>

Inheritance diagram for hp2D::Value< F, G >:
concepts::ElementFunction< Real, typename concepts::Realtype< Real >::type >

Public Member Functions

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

Protected Member Functions

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

Private Member Functions

void compute_ (const concepts::Array< F > &coeff, F &val, const Real *xValues, uint nsx, const Real *yValues, uint nsy) const
 
bool compute_ (const InfiniteQuad *elm, const concepts::Array< F > &coeff, F &val, const Real2d &p, const Real t) const
 
bool compute_ (const InfiniteQuad *elm, const concepts::Array< F > &coeff, F &val, const uint i[2]) const
 
bool compute_ (const InfiniteQuad *elm, const uint j[2], F &val, const uint i[2]) const
 
bool compute_ (const NeumannTraceElement< Real > *elm, const concepts::Array< F > &coeff, F &val, const Real &p, const Real t) const
 
bool compute_ (const NTElement_BA< Real > *nTelm, const concepts::Array< F > &coeff, F &val, const Real p, const Real t) const
 
bool compute_ (const Quad< Real > *elm, const concepts::Array< F > &coeff, F &val, const Real2d &p, const Real t) const
 
bool compute_ (const Quad< Real > *elm, const concepts::Array< F > &coeff, F &val, const uint i[2]) const
 
bool compute_ (const Quad< Real > *elm, const uint j[2], F &val, const uint i[2]) const
 

Detailed Description

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

The approximated function in a FE space.

Test:
test::FunctionEvaluation
Author
Kersten Schmidt, 2009
Examples
inhomDirichletBCs.cc, and parallelizationTutorial.cc.

Definition at line 33 of file function.hh.

Member Function Documentation

◆ clone() [1/2]

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

Definition at line 35 of file function.hh.

◆ clone() [2/2]

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

◆ compute_() [1/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
void hp2D::Value< F, G >::compute_ ( const concepts::Array< F > &  coeff,
F &  val,
const Real *  xValues,
uint  nsx,
const Real *  yValues,
uint  nsy 
) const
private

◆ compute_() [2/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp2D::Value< F, G >::compute_ ( const InfiniteQuad elm,
const concepts::Array< F > &  coeff,
F &  val,
const Real2d &  p,
const Real  t 
) const
private

◆ compute_() [3/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp2D::Value< F, G >::compute_ ( const InfiniteQuad elm,
const concepts::Array< F > &  coeff,
F &  val,
const uint  i[2] 
) const
private

◆ compute_() [4/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp2D::Value< F, G >::compute_ ( const InfiniteQuad elm,
const uint  j[2],
F &  val,
const uint  i[2] 
) const
private

◆ compute_() [5/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp2D::Value< F, G >::compute_ ( const NeumannTraceElement< Real > *  elm,
const concepts::Array< F > &  coeff,
F &  val,
const Real &  p,
const Real  t 
) const
private

◆ compute_() [6/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp2D::Value< F, G >::compute_ ( const NTElement_BA< Real > *  nTelm,
const concepts::Array< F > &  coeff,
F &  val,
const Real  p,
const Real  t 
) const
private

◆ compute_() [7/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp2D::Value< F, G >::compute_ ( const Quad< Real > *  elm,
const concepts::Array< F > &  coeff,
F &  val,
const Real2d &  p,
const Real  t 
) const
private

◆ compute_() [8/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp2D::Value< F, G >::compute_ ( const Quad< Real > *  elm,
const concepts::Array< F > &  coeff,
F &  val,
const uint  i[2] 
) const
private

◆ compute_() [9/9]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp2D::Value< F, G >::compute_ ( const Quad< Real > *  elm,
const uint  j[2],
F &  val,
const uint  i[2] 
) const
private

◆ info()

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

◆ n() [1/2]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual uint hp2D::Value< F, G >::n ( ) const
inlinevirtual

Number of components.

Definition at line 38 of file function.hh.

◆ n() [2/2]

virtual uint concepts::ElementFunction< Real , typename concepts::Realtype< Real >::type >::n ( ) const
pure virtualinherited

Number of components.

◆ operator()() [1/13]

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

◆ operator()() [2/13]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp2D::Value< 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()() [3/13]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp2D::Value< 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()() [4/13]

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

◆ operator()() [5/13]

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

◆ operator()() [6/13]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
void hp2D::Value< F, G >::operator() ( const concepts::Element< G > &  elm,
const concepts::Array< F > &  coeff,
F &  val,
const uint *  i 
) const

◆ operator()() [7/13]

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

◆ operator()() [8/13]

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
void hp2D::Value< F, G >::operator() ( const concepts::Element< G > &  elm,
const uint *  j,
F &  val,
const uint *  i 
) const

◆ operator()() [9/13]

virtual void concepts::ElementFunction< Real , typename concepts::Realtype< Real >::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()() [10/13]

virtual void concepts::ElementFunction< Real , typename concepts::Realtype< Real >::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()() [11/13]

virtual void concepts::ElementFunction< Real , typename concepts::Realtype< Real >::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()() [12/13]

virtual void concepts::ElementFunction< Real , typename concepts::Realtype< Real >::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()() [13/13]

virtual void concepts::ElementFunction< Real , typename concepts::Realtype< Real >::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

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