dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | List of all members
Dune::Fem::hpDG::LocalDofStorage< GlobalKey > Class Template Reference

#include <dune/fem/space/hpdg/localdofstorage.hh>

Public Types

using value_type = GlobalKey
 global key type
 
using iterator = typename container::iterator
 iterator type
 
using const_iterator = typename container::const_iterator
 iterator type
 

Public Member Functions

Construction
 LocalDofStorage ()
 default constructor
 
Copying and assignment
 LocalDofStorage (const ThisType &)=default
 copy constructor
 
 LocalDofStorage (ThisType &&)=default
 move constructor
 
ThisTypeoperator= (const ThisType &)=default
 assignment operator
 
ThisTypeoperator= (ThisType &&)=default
 move assignment operator
 
Iterators
iterator begin ()
 return iterator to beginning
 
const_iterator begin () const
 return iterator to beginning
 
iterator end ()
 return iterator to end
 
const_iterator end () const
 return iterator to end
 
Capacity
std::size_t size () const
 return number of dofs
 
template<class Function >
Function reserve (std::size_t new_size, Function function)
 enlarge dof vector
 
template<class Function >
Function resize (Function function)
 remove marked dofs from dof vector
 
Element access
GlobalKey & operator[] (std::size_t n)
 access element
 
const GlobalKey & operator[] (std::size_t n) const
 access element
 

Member Typedef Documentation

◆ const_iterator

template<class GlobalKey >
using Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::const_iterator = typename container::const_iterator

iterator type

◆ iterator

template<class GlobalKey >
using Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::iterator = typename container::iterator

iterator type

◆ value_type

template<class GlobalKey >
using Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::value_type = GlobalKey

global key type

Constructor & Destructor Documentation

◆ LocalDofStorage() [1/3]

template<class GlobalKey >
Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::LocalDofStorage ( )
inline

default constructor

◆ LocalDofStorage() [2/3]

template<class GlobalKey >
Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::LocalDofStorage ( const ThisType )
default

copy constructor

◆ LocalDofStorage() [3/3]

template<class GlobalKey >
Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::LocalDofStorage ( ThisType &&  )
default

move constructor

Member Function Documentation

◆ begin() [1/2]

template<class GlobalKey >
iterator Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::begin ( )
inline

return iterator to beginning

◆ begin() [2/2]

template<class GlobalKey >
const_iterator Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::begin ( ) const
inline

return iterator to beginning

◆ end() [1/2]

template<class GlobalKey >
iterator Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::end ( )
inline

return iterator to end

◆ end() [2/2]

template<class GlobalKey >
const_iterator Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::end ( ) const
inline

return iterator to end

◆ operator=() [1/2]

template<class GlobalKey >
ThisType & Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::operator= ( const ThisType )
default

assignment operator

◆ operator=() [2/2]

template<class GlobalKey >
ThisType & Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::operator= ( ThisType &&  )
default

move assignment operator

◆ operator[]() [1/2]

template<class GlobalKey >
GlobalKey & Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::operator[] ( std::size_t  n)
inline

access element

◆ operator[]() [2/2]

template<class GlobalKey >
const GlobalKey & Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::operator[] ( std::size_t  n) const
inline

access element

◆ reserve()

template<class GlobalKey >
template<class Function >
Function Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::reserve ( std::size_t  new_size,
Function  function 
)
inline

enlarge dof vector

Parameters
[in]new_sizeminimum new size for dof vector
[in]dofrunning dof number (will be incremented if dof vector is enlarged)
Returns
(incremented) dof number

◆ resize()

template<class GlobalKey >
template<class Function >
Function Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::resize ( Function  function)
inline

remove marked dofs from dof vector

◆ size()

template<class GlobalKey >
std::size_t Dune::Fem::hpDG::LocalDofStorage< GlobalKey >::size ( ) const
inline

return number of dofs


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