dune-fem  2.4.1-rc
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 </local/tomalk/somewhere/tmp/dune-fem/dune/fem/storage/subarray.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
 
ThisTypeoperator= (const ThisType &)=default
 
ThisTypeoperator= (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 StaticOffsetSubMapper< dim > & asImp () const
 
StaticOffsetSubMapper< dim > & asImp ()
 

Static Protected Member Functions

static const StaticOffsetSubMapper< dim > & asImp (const ThisType &other)
 
static StaticOffsetSubMapper< dim > & 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

type of the interface

type of the implementation (Barton-Nackman)

Constructor & Destructor Documentation

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

Member Function Documentation

static const StaticOffsetSubMapper< dim > & Dune::Fem::BartonNackmanInterface< IndexMapperInterface< StaticOffsetSubMapper< dim > > , StaticOffsetSubMapper< dim > >::asImp ( const ThisType other)
inlinestaticprotectedinherited
static StaticOffsetSubMapper< dim > & Dune::Fem::BartonNackmanInterface< IndexMapperInterface< StaticOffsetSubMapper< dim > > , StaticOffsetSubMapper< dim > >::asImp ( ThisType other)
inlinestaticprotectedinherited
const StaticOffsetSubMapper< dim > & Dune::Fem::BartonNackmanInterface< IndexMapperInterface< StaticOffsetSubMapper< dim > > , StaticOffsetSubMapper< dim > >::asImp ( ) const
inlineprotectedinherited
template<unsigned int dim>
ThisType& Dune::Fem::StaticOffsetSubMapper< dim >::operator= ( const ThisType )
default
template<unsigned int dim>
ThisType& Dune::Fem::StaticOffsetSubMapper< dim >::operator= ( ThisType &&  )
default
template<unsigned int dim>
unsigned int Dune::Fem::StaticOffsetSubMapper< dim >::operator[] ( unsigned int  i) const
inline
unsigned int Dune::Fem::IndexMapperInterface< StaticOffsetSubMapper< dim > >::range ( ) const
inlineinherited
template<unsigned int dim>
static constexpr unsigned int Dune::Fem::StaticOffsetSubMapper< dim >::range ( )
inlinestatic
unsigned int Dune::Fem::IndexMapperInterface< StaticOffsetSubMapper< dim > >::size ( ) const
inlineinherited
template<unsigned int dim>
static constexpr unsigned int Dune::Fem::StaticOffsetSubMapper< dim >::size ( )
inlinestatic

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