dune-pdelab  2.5-dev
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R > Class Template Reference

#include <dune/pdelab/finiteelementmap/rt1simplex2dfem.hh>

Inheritance diagram for Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R >:
Inheritance graph

Public Types

typedef LocalFiniteElementMapTraits< FE > Traits
 export type of the signature More...
 

Public Member Functions

 RT1Simplex2DLocalFiniteElementMap (const GV &gv)
 Use when Imp has a standard constructor. More...
 
const Traits::FiniteElementTypefind (const EntityType &e) const
 get local basis functions for entity More...
 
bool hasDOFs (int codim) const=delete
 return if FiniteElementMap has degrees of freedom for given codimension More...
 
Size calculation

The FiniteElementMap provides different methods to compute the size of the GridFunctionSpace (if possible) without iterating the grid. The approach is as follows (pseudo code):

computeNumberOfDofs(GridView, FEM):
if(FEM.fixedSize()):
sum(FEM.size(gt)*GridView.size(gt) for gt in GeometryTypes)
else
sum(FEM.find(E).basis().size() for E in GridView.entities<0>())
std::size_t size (GeometryType gt) const=delete
 if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given GeometryType. More...
 

Static Public Member Functions

static constexpr bool fixedSize ()
 
static constexpr bool hasDOFs (int codim)
 
static constexpr std::size_t size (GeometryType gt)
 
static constexpr std::size_t maxLocalSize ()
 

Static Public Attributes

static constexpr int dimension
 The dimension of the finite elements returned by this map. More...
 

Detailed Description

template<typename GV, typename D, typename R>
class Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R >

wrap up element from local functions

Member Typedef Documentation

◆ Traits

template<typename GV , typename D , typename R >
typedef LocalFiniteElementMapTraits<FE> Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R >::Traits

export type of the signature

Constructor & Destructor Documentation

◆ RT1Simplex2DLocalFiniteElementMap()

template<typename GV , typename D , typename R >
Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R >::RT1Simplex2DLocalFiniteElementMap ( const GV &  gv)
inline

Use when Imp has a standard constructor.

Member Function Documentation

◆ find()

const Traits::FiniteElementType& Dune::PDELab::RTLocalFiniteElementMap< GV, Dune::RT12DLocalFiniteElement< D, R > , RT1Simplex2DLocalFiniteElementMap< GV, D, R > , Variants >::find ( const EntityType &  e) const
inlineinherited

get local basis functions for entity

◆ fixedSize()

template<typename GV , typename D , typename R >
static constexpr bool Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R >::fixedSize ( )
inlinestaticconstexpr

◆ hasDOFs() [1/2]

template<typename GV , typename D , typename R >
static constexpr bool Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R >::hasDOFs ( int  codim)
inlinestaticconstexpr

◆ hasDOFs() [2/2]

bool Dune::PDELab::LocalFiniteElementMapInterface< LocalFiniteElementMapTraits< Dune::RT12DLocalFiniteElement< D, R > > , RT1Simplex2DLocalFiniteElementMap< GV, D, R > >::hasDOFs ( int  codim) const
deleteinherited

return if FiniteElementMap has degrees of freedom for given codimension

◆ maxLocalSize()

template<typename GV , typename D , typename R >
static constexpr std::size_t Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R >::maxLocalSize ( )
inlinestaticconstexpr

◆ size() [1/2]

template<typename GV , typename D , typename R >
static constexpr std::size_t Dune::PDELab::RT1Simplex2DLocalFiniteElementMap< GV, D, R >::size ( GeometryType  gt)
inlinestaticconstexpr

◆ size() [2/2]

std::size_t Dune::PDELab::LocalFiniteElementMapInterface< LocalFiniteElementMapTraits< Dune::RT12DLocalFiniteElement< D, R > > , RT1Simplex2DLocalFiniteElementMap< GV, D, R > >::size ( GeometryType  gt) const
deleteinherited

if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given GeometryType.

Member Data Documentation

◆ dimension

constexpr int Dune::PDELab::RTLocalFiniteElementMap< GV, Dune::RT12DLocalFiniteElement< D, R > , RT1Simplex2DLocalFiniteElementMap< GV, D, R > , Variants >::dimension
staticconstexprinherited

The dimension of the finite elements returned by this map.


The documentation for this class was generated from the following file:
Dune::PDELab::RT1Simplex2DLocalFiniteElementMap::fixedSize
static constexpr bool fixedSize()
Definition: rt1simplex2dfem.hh:37
Dune::PDELab::RTLocalFiniteElementMap< GV, Dune::RT12DLocalFiniteElement< D, R >, RT1Simplex2DLocalFiniteElementMap< GV, D, R >, 8 >::find
const Traits::FiniteElementType & find(const EntityType &e) const
get local basis functions for entity
Definition: finiteelementmap.hh:276
Dune::PDELab::RT1Simplex2DLocalFiniteElementMap::size
static constexpr std::size_t size(GeometryType gt)
Definition: rt1simplex2dfem.hh:47