dune-fem  2.4.1-rc
Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
Dune::Fem::OffsetSubMapper Class Reference

Index mapper 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::OffsetSubMapper:
Inheritance graph

Public Types

typedef OffsetSubMapper IndexMapperType
 type of the implementation (Barton-Nackman) More...
 
typedef ThisType IndexMapperInterfaceType
 type of the interface More...
 

Public Member Functions

 OffsetSubMapper (unsigned int size, unsigned int offset)
 
 OffsetSubMapper (const ThisType &)=default
 
 OffsetSubMapper (ThisType &&)=default
 
ThisTypeoperator= (const ThisType &)=default
 
ThisTypeoperator= (ThisType &&)=default
 
unsigned int size () const
 
unsigned int range () const
 
unsigned int operator[] (unsigned int i) const
 

Protected Member Functions

const OffsetSubMapperasImp () const
 
OffsetSubMapperasImp ()
 

Static Protected Member Functions

static const OffsetSubMapperasImp (const ThisType &other)
 
static OffsetSubMapperasImp (ThisType &other)
 

Detailed Description

Index mapper which simply adds an offset to the index.

Member Typedef Documentation

type of the interface

type of the implementation (Barton-Nackman)

Constructor & Destructor Documentation

Dune::Fem::OffsetSubMapper::OffsetSubMapper ( unsigned int  size,
unsigned int  offset 
)
inline
Dune::Fem::OffsetSubMapper::OffsetSubMapper ( const ThisType )
default
Dune::Fem::OffsetSubMapper::OffsetSubMapper ( ThisType &&  )
default

Member Function Documentation

static const OffsetSubMapper & Dune::Fem::BartonNackmanInterface< IndexMapperInterface< OffsetSubMapper > , OffsetSubMapper >::asImp ( const ThisType other)
inlinestaticprotectedinherited
static OffsetSubMapper & Dune::Fem::BartonNackmanInterface< IndexMapperInterface< OffsetSubMapper > , OffsetSubMapper >::asImp ( ThisType other)
inlinestaticprotectedinherited
ThisType& Dune::Fem::OffsetSubMapper::operator= ( const ThisType )
default
ThisType& Dune::Fem::OffsetSubMapper::operator= ( ThisType &&  )
default
unsigned int Dune::Fem::OffsetSubMapper::operator[] ( unsigned int  i) const
inline
unsigned int Dune::Fem::OffsetSubMapper::range ( ) const
inline
unsigned int Dune::Fem::OffsetSubMapper::size ( ) const
inline

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