dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::Fem::HierarchicalDofVector< DC > Class Template Reference

#include <dune/fem/function/hierarchical/dofvector.hh>

Inheritance diagram for Dune::Fem::HierarchicalDofVector< DC >:
Inheritance graph

Public Types

typedef DC DofContainerType
 
typedef FieldTraits< DofContainerType >::field_type FieldType
 
typedef std::size_t SizeType
 
typedef FieldType value_type
 
typedef SizeType size_type
 
typedef Impl::BlockIndicesFor< DC >::Type BlockIndices
 
typedef HierarchicalDofBlock< const DofContainerTypeConstDofBlockType
 
typedef HierarchicalDofBlock< DofContainerTypeDofBlockType
 
typedef const FieldTypeConstIteratorType
 
typedef FieldTypeIteratorType
 

Public Member Functions

 HierarchicalDofVector (SizeType size)
 
ConstDofBlockType operator[] (SizeType i) const
 
DofBlockType operator[] (SizeType i)
 
ThisTypeoperator+= (const ThisType &other)
 
ThisTypeoperator-= (const ThisType &other)
 
ThisTypeoperator*= (const FieldType &scalar)
 
FieldType operator* (const ThisType &other) const
 
void axpy (const FieldType &scalar, const ThisType &other)
 
void clear ()
 
const DofContainerTypearray () const noexcept
 obtain underlaying DoF storage
 
DofContainerTypearray () noexcept
 obtain underlaying DoF storage
 
void reserve (SizeType size)
 
void resize (SizeType size)
 
SizeType size () const
 
ConstIteratorType begin () const
 
IteratorType begin ()
 
ConstIteratorType end () const
 
IteratorType end ()
 
std::size_t usedMemorySize () const
 
void setMemoryFactor (double memFactor)
 
void memMoveBackward (int length, int oldStartIdx, int newStartIdx)
 
void memMoveForward (int length, int oldStartIdx, int newStartIdx)
 
void copyContent (int newIndex, int oldIndex)
 

Static Public Attributes

static constexpr std::size_t blockSize = Hybrid::size( BlockIndices() )
 

Member Typedef Documentation

◆ BlockIndices

template<class DC >
typedef Impl::BlockIndicesFor<DC>::Type Dune::Fem::HierarchicalDofVector< DC >::BlockIndices

◆ ConstDofBlockType

template<class DC >
typedef HierarchicalDofBlock< const DofContainerType > Dune::Fem::HierarchicalDofVector< DC >::ConstDofBlockType

◆ ConstIteratorType

template<class DC >
typedef const FieldType* Dune::Fem::HierarchicalDofVector< DC >::ConstIteratorType

◆ DofBlockType

template<class DC >
typedef HierarchicalDofBlock< DofContainerType > Dune::Fem::HierarchicalDofVector< DC >::DofBlockType

◆ DofContainerType

template<class DC >
typedef DC Dune::Fem::HierarchicalDofVector< DC >::DofContainerType

◆ FieldType

template<class DC >
typedef FieldTraits<DofContainerType>::field_type Dune::Fem::HierarchicalDofVector< DC >::FieldType

◆ IteratorType

template<class DC >
typedef FieldType* Dune::Fem::HierarchicalDofVector< DC >::IteratorType

◆ size_type

template<class DC >
typedef SizeType Dune::Fem::HierarchicalDofVector< DC >::size_type

◆ SizeType

template<class DC >
typedef std::size_t Dune::Fem::HierarchicalDofVector< DC >::SizeType

◆ value_type

template<class DC >
typedef FieldType Dune::Fem::HierarchicalDofVector< DC >::value_type

Constructor & Destructor Documentation

◆ HierarchicalDofVector()

template<class DC >
Dune::Fem::HierarchicalDofVector< DC >::HierarchicalDofVector ( SizeType  size)
inlineexplicit

Member Function Documentation

◆ array() [1/2]

template<class DC >
const DofContainerType & Dune::Fem::HierarchicalDofVector< DC >::array ( ) const
inlinenoexcept

obtain underlaying DoF storage

◆ array() [2/2]

template<class DC >
DofContainerType & Dune::Fem::HierarchicalDofVector< DC >::array ( )
inlinenoexcept

obtain underlaying DoF storage

◆ axpy()

template<class DC >
void Dune::Fem::HierarchicalDofVector< DC >::axpy ( const FieldType scalar,
const ThisType other 
)
inline

◆ begin() [1/2]

template<class DC >
IteratorType Dune::Fem::HierarchicalDofVector< DC >::begin ( )
inline

◆ begin() [2/2]

template<class DC >
ConstIteratorType Dune::Fem::HierarchicalDofVector< DC >::begin ( ) const
inline

◆ clear()

template<class DC >
void Dune::Fem::HierarchicalDofVector< DC >::clear ( )
inline

◆ copyContent()

template<class DC >
void Dune::Fem::HierarchicalDofVector< DC >::copyContent ( int  newIndex,
int  oldIndex 
)
inline

◆ end() [1/2]

template<class DC >
IteratorType Dune::Fem::HierarchicalDofVector< DC >::end ( )
inline

◆ end() [2/2]

template<class DC >
ConstIteratorType Dune::Fem::HierarchicalDofVector< DC >::end ( ) const
inline

◆ memMoveBackward()

template<class DC >
void Dune::Fem::HierarchicalDofVector< DC >::memMoveBackward ( int  length,
int  oldStartIdx,
int  newStartIdx 
)
inline

◆ memMoveForward()

template<class DC >
void Dune::Fem::HierarchicalDofVector< DC >::memMoveForward ( int  length,
int  oldStartIdx,
int  newStartIdx 
)
inline

◆ operator*()

template<class DC >
FieldType Dune::Fem::HierarchicalDofVector< DC >::operator* ( const ThisType other) const
inline

◆ operator*=()

template<class DC >
ThisType & Dune::Fem::HierarchicalDofVector< DC >::operator*= ( const FieldType scalar)
inline

◆ operator+=()

template<class DC >
ThisType & Dune::Fem::HierarchicalDofVector< DC >::operator+= ( const ThisType other)
inline

◆ operator-=()

template<class DC >
ThisType & Dune::Fem::HierarchicalDofVector< DC >::operator-= ( const ThisType other)
inline

◆ operator[]() [1/2]

template<class DC >
DofBlockType Dune::Fem::HierarchicalDofVector< DC >::operator[] ( SizeType  i)
inline

◆ operator[]() [2/2]

template<class DC >
ConstDofBlockType Dune::Fem::HierarchicalDofVector< DC >::operator[] ( SizeType  i) const
inline

◆ reserve()

template<class DC >
void Dune::Fem::HierarchicalDofVector< DC >::reserve ( SizeType  size)
inline

◆ resize()

template<class DC >
void Dune::Fem::HierarchicalDofVector< DC >::resize ( SizeType  size)
inline

◆ setMemoryFactor()

template<class DC >
void Dune::Fem::HierarchicalDofVector< DC >::setMemoryFactor ( double  memFactor)
inline

◆ size()

template<class DC >
SizeType Dune::Fem::HierarchicalDofVector< DC >::size ( ) const
inline

◆ usedMemorySize()

template<class DC >
std::size_t Dune::Fem::HierarchicalDofVector< DC >::usedMemorySize ( ) const
inline

Member Data Documentation

◆ blockSize

template<class DC >
constexpr std::size_t Dune::Fem::HierarchicalDofVector< DC >::blockSize = Hybrid::size( BlockIndices() )
staticconstexpr

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