Dune Core Modules (unstable)

Dune::LocalFiniteElementVirtualImp< Imp > Class Template Reference

class for wrapping a finite element using the virtual interface More...

#include <dune/localfunctions/common/virtualwrappers.hh>

Public Member Functions

 LocalFiniteElementVirtualImp (const Imp &imp)
 taking a LocalFiniteElementVirtualInterface implementation More...
 
 LocalFiniteElementVirtualImp ()
 Default constructor. Assumes that the implementation class is default constructible as well.
 
 LocalFiniteElementVirtualImp (const LocalFiniteElementVirtualImp &other)
 Copy constructor needed for deep copy.
 
const Traits::LocalBasisTypelocalBasis () const
 
const Traits::LocalCoefficientsTypelocalCoefficients () const
 
const Traits::LocalInterpolationTypelocalInterpolation () const
 
unsigned int size () const
 Number of shape functions in this finite element.
 
const GeometryType type () const
 
virtual LocalFiniteElementVirtualImp< Imp > * clone () const
 clone this wrapper More...
 

Detailed Description

template<class Imp>
class Dune::LocalFiniteElementVirtualImp< Imp >

class for wrapping a finite element using the virtual interface

This automatically inherits the differentiation order of the wrapped finite element and implements the corresponding interface

Template Parameters
ImpLocalBasisInterface implementation

Constructor & Destructor Documentation

◆ LocalFiniteElementVirtualImp()

template<class Imp >
Dune::LocalFiniteElementVirtualImp< Imp >::LocalFiniteElementVirtualImp ( const Imp &  imp)
inline

taking a LocalFiniteElementVirtualInterface implementation

taking a LocalFiniteElementVirtualInterface implementation

Member Function Documentation

◆ clone()

template<class Imp >
virtual LocalFiniteElementVirtualImp<Imp>* Dune::LocalFiniteElementVirtualImp< Imp >::clone ( ) const
inlinevirtual

clone this wrapper

This 'virtual copy constructor' is needed if you want to copy the wrapper through the virtual interface.

Implements Dune::LocalFiniteElementVirtualInterface< Imp::Traits::LocalBasisType::Traits >.

◆ localBasis()

◆ localCoefficients()

◆ localInterpolation()

◆ type()


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Mar 27, 23:31, 2024)