Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Member Functions
hp1D::Value< F, G > Class Template Reference

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

#include <function.hh>

Inheritance diagram for hp1D::Value< F, G >:
Inheritance graph
[legend]
Collaboration diagram for hp1D::Value< F, G >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual Value< 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 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 concepts::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 Real p, const Real t=0.0) const
virtual void operator() (const concepts::Element< G > &elm, const uint *j, concepts::Array< F > &val, const uint *i) const
 Evaluates the given function on a specific shape function j (on precalculated quadrature points).
virtual void operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const uint *i) const
 Evaluates the function on precalculated quadrature points.
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.
virtual void operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real2d &p, const Real t=0.0) const =0
 Evaluates the function value in an arbitrary point p of physical space.
virtual void operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real3d &p, const Real t=0.0) const =0
 Evaluates the function value in an arbitrary point p of physical space.

Protected Member Functions

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

Private Member Functions

bool compute_ (const hp1D::Element< G > *elm, const concepts::Array< F > &coeff, F &val, const uint i) const
bool compute_ (const hp1D::Element< G > *elm, const concepts::Array< F > &coeff, F &val, const Real p, const Real t=0.0) const
bool compute_ (const hp1D::Element< G > *elm, const uint j, F &val, const uint i) const

Detailed Description

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

The approximated function in a FE space.

Author:
Kersten Schmidt, 2007

Definition at line 24 of file function.hh.


Member Function Documentation

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual Value<F,G>* hp1D::Value< F, G >::clone ( ) const [inline, virtual]

Implements concepts::ElementFunction< F, G >.

Definition at line 47 of file function.hh.

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp1D::Value< F, G >::compute_ ( const hp1D::Element< G > *  elm,
const concepts::Array< F > &  coeff,
F &  val,
const uint  i 
) const [private]
template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp1D::Value< F, G >::compute_ ( const hp1D::Element< G > *  elm,
const uint  j,
F &  val,
const uint  i 
) const [private]
template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
bool hp1D::Value< F, G >::compute_ ( const hp1D::Element< G > *  elm,
const concepts::Array< F > &  coeff,
F &  val,
const Real  p,
const Real  t = 0.0 
) const [private]
template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual std::ostream& hp1D::Value< F, G >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

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

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual uint hp1D::Value< F, G >::n ( ) const [inline, virtual]

Number of components.

Implements concepts::ElementFunction< F, G >.

Definition at line 27 of file function.hh.

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp1D::Value< 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 >.

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp1D::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]
template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp1D::Value< 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 >.

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp1D::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]
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, inherited]

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 concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.

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, inherited]

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 concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.

template<typename F = Real, typename G = typename concepts::Realtype<F>::type>
virtual void hp1D::Value< F, G >::operator() ( const concepts::Element< G > &  elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const concepts::Real2d p,
const Real  t = 0.0 
) const [virtual]
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, inherited]

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 concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)