Dune::GridFunctionGlobalEvalDefault< GV, RT, m > Class Template Reference
[Functions Hierarchy]

#include <functions.hh>

Inheritance diagram for Dune::GridFunctionGlobalEvalDefault< GV, RT, m >:

Dune::DGFunction< G::LeafGridView, RT, o, SFSC > Dune::DGFunction< G::LevelGridView, RT, o, SFSC > Dune::GridFunctionGlobalDifferentiationDefault< GV, RT, m > Dune::GridFunctionGlobalDifferentiationDefault< G::LeafGridView, RT, 1 > Dune::GridFunctionGlobalDifferentiationDefault< G::LevelGridView, RT, 1 > Dune::GridFunctionGlobalDifferentiationDefault< GV, RT, 1 > Dune::P0Function< GV, RT, m > Dune::P0Function< G::LeafGridView, RT, m > Dune::P0Function< G::LevelGridView, RT, m > Dune::P1Function< GV, RT, LC, m > Dune::P1Function< G::LeafGridView, RT, Dune::LeafCommunicate< G >, m > Dune::P1Function< G::LevelGridView, RT, Dune::LevelCommunicate< G >, m > List of all members.

Detailed Description

template<class GV, class RT, int m>
class Dune::GridFunctionGlobalEvalDefault< GV, RT, m >

default implementation for global evaluation of a grid function


Public Types

enum  
 export dimension of domain and range
typedef DT DomainFieldType
 export type for domain components
typedef RT RangeFieldType
 export type for range components

Public Member Functions

virtual RT eval (int comp, const Dune::FieldVector< DT, n > &xi) const
 implement global evaluation with local evaluation
virtual RT evallocal (int comp, const Entity &e, const Dune::FieldVector< DT, n > &xi) const =0
 evaluate single component comp in the entity e at local coordinates xi
virtual void evalalllocal (const Entity &e, const Dune::FieldVector< DT, GV::Grid::dimension > &xi, Dune::FieldVector< RT, m > &y) const=0
 evaluate all components in the entity e at local coordinates xi
virtual RT eval (int comp, const Dune::FieldVector< DT, n > &x) const=0
 evaluate single component comp at global point x
virtual void evalall (const Dune::FieldVector< DT, n > &x, Dune::FieldVector< RT, m > &y) const=0
 evaluate all components at point x and store result in y

Member Function Documentation

template<class GV, class RT, int m>
virtual RT Dune::GridFunctionGlobalEvalDefault< GV, RT, m >::eval ( int  comp,
const Dune::FieldVector< DT, n > &  xi 
) const [inline, virtual]

implement global evaluation with local evaluation

The local entity is searched via a hierarchic search

Parameters:
[in] comp number of component to be evaluated
[in] xi point in local coordinates of the reference element of e
Returns:
value of the component

virtual RT Dune::GridFunction< GV::Grid , RT , m >::evallocal ( int  comp,
const Entity &  e,
const Dune::FieldVector< DT, n > &  xi 
) const [pure virtual, inherited]

evaluate single component comp in the entity e at local coordinates xi

Evaluate the function in an entity at local coordinates.

Parameters:
[in] comp number of component to be evaluated
[in] e reference to grid entity of codimension 0
[in] xi point in local coordinates of the reference element of e
Returns:
value of the component

virtual void Dune::GridFunction< GV::Grid , RT , m >::evalalllocal ( const Entity &  e,
const Dune::FieldVector< DT, GV::Grid ::dimension > &  xi,
Dune::FieldVector< RT , m > &  y 
) const [pure virtual, inherited]

evaluate all components in the entity e at local coordinates xi

Evaluates all components of a function at once.

Parameters:
[in] e reference to grid entity of codimension 0
[in] xi point in local coordinates of the reference element of e
[out] y vector with values to be filled

template<class DT, class RT, int n, int m>
virtual RT Dune::FunctionBase< DT, RT, n, m >::eval ( int  comp,
const Dune::FieldVector< DT, n > &  x 
) const [pure virtual, inherited]

template<class DT, class RT, int n, int m>
virtual void Dune::FunctionBase< DT, RT, n, m >::evalall ( const Dune::FieldVector< DT, n > &  x,
Dune::FieldVector< RT, m > &  y 
) const [pure virtual, inherited]

evaluate all components at point x and store result in y

Evaluation function for all components at once.

Parameters:
[in] x position to be evaluated
[out] y result vector to be filled

Implemented in Dune::FunctionDefault< DT, RT, n, m >.


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

Generated on 6 Jan 2009 with Doxygen (ver 1.5.1) [logfile].