dune-pdelab  2.4-dev
Modules | Classes | Enumerations | Functions
PDELab Function
Collaboration diagram for PDELab Function:

Modules

 Function Adapters
 
 GridFunctionTree
 

Classes

struct  Dune::PDELab::FunctionTraits< DF, n, D, RF, m, R >
 
class  Dune::PDELab::FunctionInterface< T, Imp >
 a Function that maps x in DomainType to y in RangeType More...
 
class  Dune::PDELab::InstationaryFunctionDefaults
 Default class for additional methods in instationary functions. More...
 
struct  Dune::PDELab::PowerCompositeGridFunctionTraits< GV >
 GV The type of the grid view the function lives on. More...
 
struct  Dune::PDELab::GridFunctionOutputParameters::Output
 Namespace for output-related data types and enums. More...
 
class  Dune::PDELab::GridFunctionOutputParameters
 Mixin base class for specifying output hints to I/O routines like VTK. More...
 
struct  Dune::PDELab::GridFunctionTraits< GV, RF, m, R >
 traits class holding the function signature, same as in local function More...
 
class  Dune::PDELab::GridFunctionInterface< T, Imp >
 a GridFunction maps x in DomainType to y in RangeType More...
 
struct  Dune::PDELab::BoundaryGridFunctionTraits< GV, RF, m, R >
 traits class holding function signature, same as in local function More...
 
class  Dune::PDELab::BoundaryGridFunctionInterface< T, Imp >
 A BoundaryGridFunction allows evaluation on boundary intersections. More...
 
class  Dune::PDELab::GridFunctionProbe< GF >
 Evaluate a GridFunction at a certain global coordinate. More...
 

Enumerations

enum  { Dune::PDELab::FunctionTraits< DF, n, D, RF, m, R >::dimDomain = n }
 Enum for domain dimension. More...
 
enum  { Dune::PDELab::FunctionTraits< DF, n, D, RF, m, R >::dimRange = m }
 Enum for range dimension. More...
 
enum  Dune::PDELab::GridFunctionOutputParameters::Output::DataSetType { Dune::PDELab::GridFunctionOutputParameters::Output::vertexData, Dune::PDELab::GridFunctionOutputParameters::Output::cellData }
 The type of the data set. More...
 

Functions

template<typename GF >
void Dune::PDELab::integrateGridFunction (const GF &gf, typename GF::Traits::RangeType &sum, unsigned qorder=1)
 Integrate a GridFunction. More...
 

Detailed Description

Enumeration Type Documentation

template<class DF, int n, class D, class RF, int m, class R>
anonymous enum

Enum for domain dimension.

Enumerator
dimDomain 

dimension of the domain

template<class DF, int n, class D, class RF, int m, class R>
anonymous enum

Enum for range dimension.

Enumerator
dimRange 

dimension of the range

The type of the data set.

This information can be used by a VTKWriter to pick the correct VTK data set type.

Enumerator
vertexData 

A data set with vertex values.

cellData 

A data set with cell values.

Function Documentation

template<typename GF >
void Dune::PDELab::integrateGridFunction ( const GF &  gf,
typename GF::Traits::RangeType &  sum,
unsigned  qorder = 1 
)

Integrate a GridFunction.

Integrate a GridFunction over the domain given by the GridFunction's GridView. In the parallel case, this function integrates over the Interior_Partition only. If the accumulated result over all processors result is required, use something like

sum = gf.getGridView().comm().sum(sum);
Template Parameters
GFType of the GridFunction.
Parameters
gfThe GridFunction object.
sumResulting integral. There is no need to clear this variable before calling this function.
qorderQuadrature order to use. If the GridFunction is element-wise polynomial, then this is the order of the highest-order monom needed to represent the function.