# Dune Core Modules (2.9.0)

Dune::DualP1LocalFiniteElement< D, R, dim, faceDual > Class Template Reference

The local dual p1 finite element on simplices. More...

#include <dune/localfunctions/dualmortarbasis/dualp1.hh>

## Public Types

typedef LocalFiniteElementTraits< DualP1LocalBasis< D, R, dim, faceDual >, DualP1LocalCoefficients< dim >, DualP1LocalInterpolation< dim, DualP1LocalBasis< D, R, dim, faceDual > > > Traits

## Public Member Functions

DualP1LocalFiniteElement ()

const Traits::LocalBasisTypelocalBasis () const

const Traits::LocalCoefficientsTypelocalCoefficients () const

const Traits::LocalInterpolationTypelocalInterpolation () const

unsigned int size () const
Number of shape functions in this finite element.

## Static Public Member Functions

static constexpr GeometryType type ()

## Detailed Description

### template<class D, class R, int dim, bool faceDual = false> class Dune::DualP1LocalFiniteElement< D, R, dim, faceDual >

The local dual p1 finite element on simplices.

Note that if the dual functions are chosen to be dual on the faces, the integrated product of a Lagrange $$\lambda_p$$ and dual function $$\theta_q$$ over faces not containing $$q$$ does in general not vanish.

Template Parameters
 D Domain data type R Range data type dim Dimension of the simplex faceDual If set, the basis functions are bi-orthogonal only on faces containing the corresponding vertex.

## ◆ Traits

template<class D , class R , int dim, bool faceDual = false>
 typedef LocalFiniteElementTraits,DualP1LocalCoefficients, DualP1LocalInterpolation > > Dune::DualP1LocalFiniteElement< D, R, dim, faceDual >::Traits
Todo:

## ◆ DualP1LocalFiniteElement()

template<class D , class R , int dim, bool faceDual = false>
 Dune::DualP1LocalFiniteElement< D, R, dim, faceDual >::DualP1LocalFiniteElement ( )
inline
Todo:

## ◆ localBasis()

template<class D , class R , int dim, bool faceDual = false>
 const Traits::LocalBasisType& Dune::DualP1LocalFiniteElement< D, R, dim, faceDual >::localBasis ( ) const
inline
Todo:

## ◆ localCoefficients()

template<class D , class R , int dim, bool faceDual = false>
 const Traits::LocalCoefficientsType& Dune::DualP1LocalFiniteElement< D, R, dim, faceDual >::localCoefficients ( ) const
inline
Todo:

## ◆ localInterpolation()

template<class D , class R , int dim, bool faceDual = false>
 const Traits::LocalInterpolationType& Dune::DualP1LocalFiniteElement< D, R, dim, faceDual >::localInterpolation ( ) const
inline
Todo:

## ◆ type()

template<class D , class R , int dim, bool faceDual = false>
 static constexpr GeometryType Dune::DualP1LocalFiniteElement< D, R, dim, faceDual >::type ( )
inlinestaticconstexpr
Todo: