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

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
hp2Dedge::Value< F, G, H > Class Template Reference

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

#include <function.hh>

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

List of all members.

Public Types

typedef concepts::Element
< typename Quad< H >::type > 
Element

Public Member Functions

virtual Value< F, G, H > * clone () const
virtual uint n () const
 Number of components.
virtual void operator() (const Element< Quad< H >::type > &elm, const Array< F > &coeff, Array< F > &val, const uint *i) const =0
 Evaluates the function on precalculated quadrature points.
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< Quad< H >::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).
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 uint *j, concepts::Array< F > &val, const uint *i) const
 Value (const concepts::ElementFormula< G, H > &frm)
 Value ()
virtual void operator() (const Element< Quad< H >::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.
virtual void operator() (const Element< Quad< H >::type > &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< Quad< H >::type > &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

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

Private Attributes

std::auto_ptr< const
concepts::ElementFormula< G, H > > 
f_
 Formula.

Detailed Description

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

The approximated function in a FE space.

Author:
Kersten Schmidt, 2004

Definition at line 25 of file function.hh.


Member Typedef Documentation

typedef concepts::Element<typename Quad< H > ::type> hp2D::ElementFunction< dim, F, Quad< H > >::Element [inherited]

Definition at line 38 of file functionBase.hh.


Constructor & Destructor Documentation

template<typename F = Real, typename G = Real, typename H = typename concepts::Realtype<F>::type>
hp2Dedge::Value< F, G, H >::Value ( )
template<typename F = Real, typename G = Real, typename H = typename concepts::Realtype<F>::type>
hp2Dedge::Value< F, G, H >::Value ( const concepts::ElementFormula< G, H > &  frm)

Member Function Documentation

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

Implements concepts::ElementFunction< F, Quad< H >::type >.

Definition at line 29 of file function.hh.

Here is the call graph for this function:

template<typename F = Real, typename G = Real, typename H = typename concepts::Realtype<F>::type>
virtual void hp2Dedge::Value< F, G, H >::compute_ ( const Quad< H > &  elm,
const uint  j[3],
concepts::Array< F > &  val,
const uint  i[2] 
) const [private, virtual]
template<typename F = Real, typename G = Real, typename H = typename concepts::Realtype<F>::type>
virtual void hp2Dedge::Value< F, G, H >::compute_ ( const Quad< H > &  elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real2d &  p,
const Real  t = 0.0 
) const [private, virtual]
template<typename F = Real, typename G = Real, typename H = typename concepts::Realtype<F>::type>
virtual void hp2Dedge::Value< F, G, H >::compute_ ( const Quad< H > &  elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const uint  i[2] 
) const [private, virtual]
template<typename F = Real, typename G = Real, typename H = typename concepts::Realtype<F>::type>
virtual std::ostream& hp2Dedge::Value< F, G, H >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::ElementFunction< F, Quad< H >::type >.

virtual uint hp2D::ElementFunction< dim, F, Quad< H > >::n ( ) const [inline, virtual, inherited]

Number of components.

Implements concepts::ElementFunction< F, Quad< H >::type >.

Definition at line 41 of file functionBase.hh.

virtual void hp2D::ElementFunction< dim, F, Quad< H > >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const concepts::Real3d p,
const Real  t = 0.0 
) const [virtual, inherited]
virtual void hp2D::ElementFunction< dim, F, Quad< H > >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real2d &  p,
const Real  t = 0.0 
) const [virtual, inherited]
virtual void hp2D::ElementFunction< dim, F, Quad< H > >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const Real  p,
const Real  t = 0.0 
) const [virtual, inherited]
virtual void hp2D::ElementFunction< dim, F, Quad< H > >::operator() ( const Element elm,
const uint *  j,
concepts::Array< F > &  val,
const uint *  i 
) const [virtual, inherited]
virtual void hp2D::ElementFunction< dim, F, Quad< H > >::operator() ( const Element elm,
const concepts::Array< F > &  coeff,
concepts::Array< F > &  val,
const uint *  i 
) const [virtual, inherited]
virtual void concepts::ElementFunction< F, Quad< H >::type >::operator() ( const Element< Quad< H >::type > &  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
virtual void concepts::ElementFunction< F, Quad< H >::type >::operator() ( const Element< Quad< H >::type > &  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
virtual void concepts::ElementFunction< F, Quad< H >::type >::operator() ( const Element< Quad< H >::type > &  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
virtual void concepts::ElementFunction< F, Quad< H >::type >::operator() ( const Element< Quad< H >::type > &  elm,
const Array< F > &  coeff,
Array< F > &  val,
const uint *  i 
) const [pure virtual, inherited]

Evaluates the function on precalculated quadrature points.

Parameters:
elmElement
coeffCoefficients of local shape functions
valFunction value
imulti-index of the quadrature point
virtual void concepts::ElementFunction< F, Quad< H >::type >::operator() ( const Element< Quad< H >::type > &  elm,
const uint *  j,
Array< F > &  val,
const uint *  i 
) const [pure virtual, inherited]

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

template<typename F = Real, typename G = Real, typename H = typename concepts::Realtype<F>::type>
std::auto_ptr<const concepts::ElementFormula<G,H> > hp2Dedge::Value< F, G, H >::f_ [private]

Formula.

Definition at line 37 of file function.hh.


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

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