dune-fem 2.8.0
Loading...
Searching...
No Matches
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)
 
typedef ThisType IndexMapperInterfaceType
 Type of the interface.
 

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.
 
unsigned int size () const
 Returns the map's size.
 

Static Public Member Functions

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

Protected Member Functions

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

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

typedef ThisType Dune::Fem::IndexMapperInterface< StaticOffsetSubMapper< dim > >::IndexMapperInterfaceType
inherited

Type of the interface.

◆ IndexMapperType

typedef StaticOffsetSubMapper< dim > Dune::Fem::IndexMapperInterface< StaticOffsetSubMapper< dim > >::IndexMapperType
inherited

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/6]

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

◆ asImp() [2/6]

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

◆ asImp() [3/6]

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

◆ asImp() [4/6]

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

◆ asImp() [5/6]

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

◆ asImp() [6/6]

static Implementation & Dune::Fem::BartonNackmanInterface< Interface, Implementation >::asImp ( ThisType other)
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: