dune-fem  2.8-git
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
Dune::Fem::StaticOffsetSubMapper< dim > Class Template Reference

Index mapper with static size which simply adds an offset to the index. More...

#include <dune/fem/storage/subvector.hh>

Inheritance diagram for Dune::Fem::StaticOffsetSubMapper< dim >:
Inheritance graph

Public Types

typedef StaticOffsetSubMapper< dim > IndexMapperType
 Type of the implementation (Barton-Nackman) More...
 
typedef ThisType IndexMapperInterfaceType
 Type of the interface. More...
 

Public Member Functions

 StaticOffsetSubMapper (unsigned int offset)
 
 StaticOffsetSubMapper (const ThisType &)=default
 
 StaticOffsetSubMapper (ThisType &&)=default
 
unsigned int operator[] (unsigned int i) const
 
unsigned int range () const
 Returns the map's range. More...
 
unsigned int size () const
 Returns the map's size. More...
 

Static Public Member Functions

static constexpr unsigned int size ()
 
static constexpr unsigned int range ()
 

Protected Member Functions

const Implementation & asImp () const
 
Implementation & asImp ()
 
const Implementation & asImp () const
 

Static Protected Member Functions

static const Implementation & asImp (const ThisType &other)
 
static Implementation & asImp (ThisType &other)
 
static const Implementation & asImp (const ThisType &other)
 
static Implementation & asImp (ThisType &other)
 

Detailed Description

template<unsigned int dim>
class Dune::Fem::StaticOffsetSubMapper< dim >

Index mapper with static size which simply adds an offset to the index.

Member Typedef Documentation

◆ IndexMapperInterfaceType

Type of the interface.

◆ IndexMapperType

Type of the implementation (Barton-Nackman)

Constructor & Destructor Documentation

◆ StaticOffsetSubMapper() [1/3]

template<unsigned int dim>
Dune::Fem::StaticOffsetSubMapper< dim >::StaticOffsetSubMapper ( unsigned int  offset)
inline

◆ StaticOffsetSubMapper() [2/3]

template<unsigned int dim>
Dune::Fem::StaticOffsetSubMapper< dim >::StaticOffsetSubMapper ( const ThisType )
default

◆ StaticOffsetSubMapper() [3/3]

template<unsigned int dim>
Dune::Fem::StaticOffsetSubMapper< dim >::StaticOffsetSubMapper ( ThisType &&  )
default

Member Function Documentation

◆ asImp() [1/7]

Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp
inlineprotectedinherited

◆ asImp() [2/7]

template<class Interface , class Implementation >
const Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ) const
inlineprotectedinherited

◆ asImp() [3/7]

const Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp
inlineprotectedinherited

◆ asImp() [4/7]

template<class Interface , class Implementation >
static const Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( const ThisType other)
inlinestaticprotectedinherited

◆ asImp() [5/7]

static const Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp
inlinestaticprotectedinherited

◆ asImp() [6/7]

template<class Interface , class Implementation >
static Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ThisType other)
inlinestaticprotectedinherited

◆ asImp() [7/7]

static Implementation& Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp
inlinestaticprotectedinherited

◆ operator[]()

template<unsigned int dim>
unsigned int Dune::Fem::StaticOffsetSubMapper< dim >::operator[] ( unsigned int  i) const
inline

◆ range() [1/2]

template<unsigned int dim>
static constexpr unsigned int Dune::Fem::StaticOffsetSubMapper< dim >::range ( )
inlinestaticconstexpr

◆ range() [2/2]

unsigned int Dune::Fem::IndexMapperInterface< StaticOffsetSubMapper< dim > >::range ( ) const
inlineinherited

Returns the map's range.

◆ size() [1/2]

template<unsigned int dim>
static constexpr unsigned int Dune::Fem::StaticOffsetSubMapper< dim >::size ( )
inlinestaticconstexpr

◆ size() [2/2]

unsigned int Dune::Fem::IndexMapperInterface< StaticOffsetSubMapper< dim > >::size ( ) const
inlineinherited

Returns the map's size.


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