3.6-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | List of all members
Dumux::Detail::PQ1BubbleLocalInterpolation< LocalBasis > Class Template Reference

Evaluate the degrees of freedom of a P1 + Bubble basis. More...

#include <dumux/discretization/pq1bubble/pq1bubblelocalfiniteelement.hh>

Inheritance diagram for Dumux::Detail::PQ1BubbleLocalInterpolation< LocalBasis >:

Description

template<class LocalBasis>
class Dumux::Detail::PQ1BubbleLocalInterpolation< LocalBasis >

Evaluate the degrees of freedom of a P1 + Bubble basis.

Template Parameters
LocalBasisThe corresponding set of shape functions

Public Member Functions

template<typename F , typename C >
void interpolate (const F &f, std::vector< C > &out) const
 Evaluate a given function at the vertices and the cell midpoint. More...
 

Member Function Documentation

◆ interpolate()

template<class LocalBasis >
template<typename F , typename C >
void Dumux::Detail::PQ1BubbleLocalInterpolation< LocalBasis >::interpolate ( const F &  f,
std::vector< C > &  out 
) const
inline

Evaluate a given function at the vertices and the cell midpoint.

Template Parameters
FType of function to evaluate
CType used for the values of the function
Parameters
[in]fFunction to evaluate (call operator that gets a local position)
[out]outArray of function values

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