- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <p0function.hh>
Inheritance diagram for Dune::LevelP0Function< G, RT, m >:

Public Types | |
| enum | |
| export dimension of domain and range | |
| enum | |
| export dimension of domain and range | |
| typedef G::ctype | DomainFieldType |
| export type for domain components | |
| typedef DT | DomainFieldType |
| export type for domain components | |
| typedef RT | RangeFieldType |
| export type for range components | |
| typedef RT | RangeFieldType |
| export type for range components | |
Public Member Functions | |
| virtual RT | evallocal (int comp, const Entity &e, const Dune::FieldVector< DT, n > &xi) const |
| evaluate single component comp in the entity e at local coordinates xi | |
| 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 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, G::dimension > &xi, Dune::FieldVector< RT, m > &y) const |
| evaluate all components in the entity e at local coordinates xi | |
| virtual void | evalalllocal (const Entity &e, const Dune::FieldVector< DT, G::dimension > &xi, Dune::FieldVector< RT, m > &y) const=0 |
| evaluate all components 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 | |
| void | interpolate (const C0GridFunction< G, RT, m > &u) |
| interpolate nodal values from a grid function | |
| const RepresentationType & | operator * () const |
| return const reference to coefficient vector | |
| RepresentationType & | operator * () |
| return reference to coefficient vector | |
| void | preAdapt () |
| void | postAdapt () |
| Initiate update process. | |
|
const MultipleCodimMultipleGeomTypeMapper< G, typename G::LevelGridView::IndexSet, P0Layout > & | mapper () const |
| export the mapper for external use | |
| void | vtkout (VTKWriter< G::LevelGridView > &vtkwriter, std::string s) const |
| VTK output. | |
| virtual RT | eval (int comp, const Dune::FieldVector< G::ctype, n > &x) const=0 |
| evaluate single component comp at global point x | |
| virtual RT | eval (int comp, const Dune::FieldVector< DT, n > &xi) const |
| implement global evaluation with local evaluation | |
| 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< G::ctype, n > &x, Dune::FieldVector< RT, m > &y) const=0 |
| evaluate all components at point x and store result in y | |
| 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 | |
| virtual void | evalall (const Dune::FieldVector< DT, n > &x, Dune::FieldVector< RT, m > &y) const |
| default implemention for evaluation of all components | |
| virtual RT Dune::P0Function< G::LevelGridView , RT , m >::evallocal | ( | int | comp, | |
| const Entity & | e, | |||
| const Dune::FieldVector< DT, n > & | xi | |||
| ) | const [inline, virtual, inherited] |
evaluate single component comp in the entity e at local coordinates xi
Evaluate the function in an entity at local coordinates.
| [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 |
| virtual RT Dune::GridFunction< G, 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.
| [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 |
Implemented in Dune::GridFunctionDefault< G, RT, m >, and Dune::GridFunctionDefault< G, RT, G::dimension >.
| 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.
| [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 |
| virtual void Dune::P0Function< G::LevelGridView , RT , m >::evalalllocal | ( | const Entity & | e, | |
| const Dune::FieldVector< DT, G::dimension > & | xi, | |||
| Dune::FieldVector< RT , m > & | y | |||
| ) | const [inline, virtual, inherited] |
evaluate all components in the entity e at local coordinates xi
Evaluates all components of a function at once.
| [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 |
| virtual void Dune::GridFunction< G, RT, m >::evalalllocal | ( | const Entity & | e, | |
| const Dune::FieldVector< DT, G::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.
| [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 |
Implemented in Dune::GridFunctionDefault< G, RT, m >, and Dune::GridFunctionDefault< G, RT, G::dimension >.
| 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.
| [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 |
| void Dune::P0Function< G::LevelGridView , RT , m >::interpolate | ( | const C0GridFunction< G, RT , m > & | u | ) | [inline, inherited] |
interpolate nodal values from a grid function
Lagrange interpolation of a P0 finite element function from given continuous grid function. Evaluation is done by visiting the vertices of each element and storing a bitvector of visited vertices.
| [in] | u | a continuous grid function |
| const RepresentationType& Dune::P0Function< G::LevelGridView , RT , m >::operator * | ( | ) | const [inline, inherited] |
return const reference to coefficient vector
Dereferencing a finite element function returns the coefficient representation of the finite element function. This is the const version.
| RepresentationType& Dune::P0Function< G::LevelGridView , RT , m >::operator * | ( | ) | [inline, inherited] |
return reference to coefficient vector
Dereferencing a finite element function returns the coefficient representation of the finite element function. This is the non-const version.
| void Dune::P0Function< G::LevelGridView , RT , m >::preAdapt | ( | ) | [inline, inherited] |
empty method to maintain symmetry For vertex data nothing is required in preAdapt but for other finite element functions this method is necessary.
| void Dune::P0Function< G::LevelGridView , RT , m >::postAdapt | ( | ) | [inline, inherited] |
Initiate update process.
Call this method after the grid has been adapted. The representation is now updated to the new grid and the finite element function can be used on the new grid. However the data is not initialized. The old representation (with respect to the old grid) can still be accessed if it has been saved. It is deleted in endUpdate().
| virtual RT Dune::FunctionBase< G::ctype , RT , n, m >::eval | ( | int | comp, | |
| const Dune::FieldVector< G::ctype , n > & | x | |||
| ) | const [pure virtual, inherited] |
evaluate single component comp at global point x
Evaluate a single component of the vector-valued function.
| [in] | comp | number of component to be evaluated |
| [in] | x | position to be evaluated |
Implemented in Dune::GridFunctionAdapter< G, RT, m >, Dune::DifferentiableGridFunctionAdapter< G, RT, m >, Dune::GridLevelLeafFunctionAdapter< G, RT, m >, Dune::GridLeafFunctionAdapter< G, IS, RT, m >, Dune::GridFunctionGradient< G, RT >, Dune::GridFunctionMinus< G, RT, m >, Dune::GridFunctionGlobalEvalDefault< GV, RT, 1 >, Dune::GridFunctionGlobalEvalDefault< G::LevelGridView, RT, m >, Dune::GridFunctionGlobalEvalDefault< G::LeafGridView, RT, 1 >, Dune::GridFunctionGlobalEvalDefault< G::LeafGridView, RT, m >, and Dune::GridFunctionGlobalEvalDefault< G::LevelGridView, RT, 1 >.
| virtual RT Dune::GridFunctionGlobalEvalDefault< GV, RT, m >::eval | ( | int | comp, | |
| const Dune::FieldVector< DT, n > & | xi | |||
| ) | const [inline, virtual, inherited] |
implement global evaluation with local evaluation
The local entity is searched via a hierarchic search
| [in] | comp | number of component to be evaluated |
| [in] | xi | point in local coordinates of the reference element of e |
| virtual RT Dune::FunctionBase< DT, RT, n, m >::eval | ( | int | comp, | |
| const Dune::FieldVector< DT, n > & | x | |||
| ) | const [pure virtual, inherited] |
evaluate single component comp at global point x
Evaluate a single component of the vector-valued function.
| [in] | comp | number of component to be evaluated |
| [in] | x | position to be evaluated |
Implemented in Dune::GridFunctionAdapter< G, RT, m >, Dune::DifferentiableGridFunctionAdapter< G, RT, m >, Dune::GridLevelLeafFunctionAdapter< G, RT, m >, Dune::GridLeafFunctionAdapter< G, IS, RT, m >, Dune::GridFunctionGradient< G, RT >, Dune::GridFunctionMinus< G, RT, m >, Dune::GridFunctionGlobalEvalDefault< GV, RT, 1 >, Dune::GridFunctionGlobalEvalDefault< G::LevelGridView, RT, m >, Dune::GridFunctionGlobalEvalDefault< G::LeafGridView, RT, 1 >, Dune::GridFunctionGlobalEvalDefault< G::LeafGridView, RT, m >, and Dune::GridFunctionGlobalEvalDefault< G::LevelGridView, RT, 1 >.
| virtual void Dune::FunctionBase< G::ctype , RT , n, m >::evalall | ( | const Dune::FieldVector< G::ctype , 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.
| [in] | x | position to be evaluated |
| [out] | y | result vector to be filled |
| 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.
| [in] | x | position to be evaluated |
| [out] | y | result vector to be filled |
Implemented in Dune::FunctionDefault< DT, RT, n, m >.
| virtual void Dune::FunctionDefault< DT, RT, n, m >::evalall | ( | const Dune::FieldVector< DT, n > & | x, | |
| Dune::FieldVector< RT, m > & | y | |||
| ) | const [inline, virtual, inherited] |
default implemention for evaluation of all components
Evaluate all components at once using componentwise evaluation function
| [in] | x | position to be evaluated |
| [out] | y | result vector to be filled |
Implements Dune::FunctionBase< DT, RT, n, m >.