dune-pdelab  2.0.0
Public Types | Public Member Functions | List of all members
Dune::PDELab::Q12DLocalFiniteElementMap< D, R > Class Template Reference

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

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

Public Types

typedef
LocalFiniteElementMapTraits
< Dune::Q1LocalFiniteElement
< D, R, 2 > > 
Traits
 export type of the signature More...
 

Public Member Functions

bool fixedSize () const
 
std::size_t size (const GeometryType &gt) const
 
std::size_t maxLocalSize () const
 
const Traits::FiniteElementTypefind (const EntityType &e) const
 get local basis functions for entity 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
 if the FiniteElementMap is fixedSize, the size methods computes the number of DOFs for given GeometryType. More...
 

Detailed Description

template<class D, class R>
class Dune::PDELab::Q12DLocalFiniteElementMap< D, R >

wrap up element from local functions

Member Typedef Documentation

typedef LocalFiniteElementMapTraits<Dune::Q1LocalFiniteElement< D, R, 2 > > Dune::PDELab::SimpleLocalFiniteElementMap< Dune::Q1LocalFiniteElement< D, R, 2 > >::Traits
inherited

export type of the signature

Member Function Documentation

const Traits::FiniteElementType& Dune::PDELab::SimpleLocalFiniteElementMap< Dune::Q1LocalFiniteElement< D, R, 2 > >::find ( const EntityType &  e) const
inlineinherited

get local basis functions for entity

template<class D , class R >
bool Dune::PDELab::Q12DLocalFiniteElementMap< D, R >::fixedSize ( ) const
inline
template<class D , class R >
std::size_t Dune::PDELab::Q12DLocalFiniteElementMap< D, R >::maxLocalSize ( ) const
inline
template<class D , class R >
std::size_t Dune::PDELab::Q12DLocalFiniteElementMap< D, R >::size ( const GeometryType &  gt) const
inline
std::size_t Dune::PDELab::LocalFiniteElementMapInterface< LocalFiniteElementMapTraits< Dune::Q1LocalFiniteElement< D, R, 2 > > , SimpleLocalFiniteElementMap< Dune::Q1LocalFiniteElement< D, R, 2 > > >::size ( GeometryType  gt) const
inlineinherited

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


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