dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::DofMapperCode Class Reference

#include <dune/fem/space/mapper/code.hh>

Inheritance diagram for Dune::Fem::DofMapperCode:
Inheritance graph

Public Member Functions

 DofMapperCode ()
 
 DofMapperCode (const DofMapperCode &other)
 
 ~DofMapperCode ()
 
const DofMapperCodeoperator= (const DofMapperCode &other)
 
template<class Functor >
void operator() (Functor f) const
 execute DoF mapper code
 
unsigned int numBlocks () const
 
unsigned int numDofs () const
 

Protected Types

typedef const unsigned int * ConstIterator
 
typedef unsigned int * Iterator
 

Protected Member Functions

 DofMapperCode (unsigned int numBlocks, unsigned int numDofs)
 
ConstIterator begin () const
 
Iterator begin ()
 
ConstIterator end () const
 
Iterator end ()
 
std::size_t size () const
 

Static Protected Member Functions

static std::size_t size (unsigned int numBlocks, unsigned int numDofs)
 

Protected Attributes

unsigned int * code_
 

Member Typedef Documentation

◆ ConstIterator

typedef const unsigned int* Dune::Fem::DofMapperCode::ConstIterator
protected

◆ Iterator

typedef unsigned int* Dune::Fem::DofMapperCode::Iterator
protected

Constructor & Destructor Documentation

◆ DofMapperCode() [1/3]

Dune::Fem::DofMapperCode::DofMapperCode ( unsigned int  numBlocks,
unsigned int  numDofs 
)
inlineprotected

◆ DofMapperCode() [2/3]

Dune::Fem::DofMapperCode::DofMapperCode ( )
inline

◆ DofMapperCode() [3/3]

Dune::Fem::DofMapperCode::DofMapperCode ( const DofMapperCode other)
inline

◆ ~DofMapperCode()

Dune::Fem::DofMapperCode::~DofMapperCode ( )
inline

Member Function Documentation

◆ begin() [1/2]

Iterator Dune::Fem::DofMapperCode::begin ( )
inlineprotected

◆ begin() [2/2]

ConstIterator Dune::Fem::DofMapperCode::begin ( ) const
inlineprotected

◆ end() [1/2]

Iterator Dune::Fem::DofMapperCode::end ( )
inlineprotected

◆ end() [2/2]

ConstIterator Dune::Fem::DofMapperCode::end ( ) const
inlineprotected

◆ numBlocks()

unsigned int Dune::Fem::DofMapperCode::numBlocks ( ) const
inline

◆ numDofs()

unsigned int Dune::Fem::DofMapperCode::numDofs ( ) const
inline

◆ operator()()

template<class Functor >
void Dune::Fem::DofMapperCode::operator() ( Functor  f) const
inline

execute DoF mapper code

The functor has to be a copyable object satisfying the following interface:

struct Functor
{
void operator() ( unsigned int gtIndex, unsigned int subEntity, ConstIterator begin, ConstIterator end )
};
const unsigned int * ConstIterator
Definition: code.hh:20

The type ConstIterator is defined by the DofMapperCode. It is passed the following arguments:

  • gtIndex: global geometry type index of a subentity
  • subEntity: local number of the subentity (wrt. the reference element)
  • begin / end: iterator pair returning the local indices (wrt. to the element) of the DoFs associated to the subentity

◆ operator=()

const DofMapperCode & Dune::Fem::DofMapperCode::operator= ( const DofMapperCode other)
inline

◆ size() [1/2]

std::size_t Dune::Fem::DofMapperCode::size ( ) const
inlineprotected

◆ size() [2/2]

static std::size_t Dune::Fem::DofMapperCode::size ( unsigned int  numBlocks,
unsigned int  numDofs 
)
inlinestaticprotected

Member Data Documentation

◆ code_

unsigned int* Dune::Fem::DofMapperCode::code_
protected

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