version 3.8
Dumux::ReservedBlockVector< BlockType, capacity > Class Template Reference

A arithmetic block vector type based on DUNE's reserved vector.

#include <dumux/common/reservedblockvector.hh>

Inheritance diagram for Dumux::ReservedBlockVector< BlockType, capacity >:

Public Types

using size_type = typename Base::size_type
 
using value_type = BlockType
 

Public Member Functions

 ReservedBlockVector ()
 
 ReservedBlockVector (size_type size)
 
 ReservedBlockVector (const ReservedBlockVector &)=default
 
 ReservedBlockVector (ReservedBlockVector &&)=default
 
ReservedBlockVectoroperator= (const ReservedBlockVector &)=default
 
ReservedBlockVectoroperator= (ReservedBlockVector &&)=default
 
 ~ReservedBlockVector ()=default
 
ReservedBlockVectoroperator= (const typename BlockType::field_type &v)
 assignment from scalar More...
 
ReservedBlockVectoroperator+= (const ReservedBlockVector &other)
 vector space addition More...
 
ReservedBlockVectoroperator-= (const ReservedBlockVector &other)
 vector space subtraction More...
 
ReservedBlockVectoroperator/= (const typename BlockType::field_type &v)
 division by scalar More...
 
ReservedBlockVectoroperator*= (const typename BlockType::field_type &v)
 multiplication by scalar More...
 

Member Typedef Documentation

◆ size_type

template<class BlockType , int capacity>
using Dumux::ReservedBlockVector< BlockType, capacity >::size_type = typename Base::size_type

◆ value_type

template<class BlockType , int capacity>
using Dumux::ReservedBlockVector< BlockType, capacity >::value_type = BlockType

Constructor & Destructor Documentation

◆ ReservedBlockVector() [1/4]

template<class BlockType , int capacity>
Dumux::ReservedBlockVector< BlockType, capacity >::ReservedBlockVector ( )
inlineexplicit

◆ ReservedBlockVector() [2/4]

template<class BlockType , int capacity>
Dumux::ReservedBlockVector< BlockType, capacity >::ReservedBlockVector ( size_type  size)
inlineexplicit

◆ ReservedBlockVector() [3/4]

template<class BlockType , int capacity>
Dumux::ReservedBlockVector< BlockType, capacity >::ReservedBlockVector ( const ReservedBlockVector< BlockType, capacity > &  )
default

◆ ReservedBlockVector() [4/4]

template<class BlockType , int capacity>
Dumux::ReservedBlockVector< BlockType, capacity >::ReservedBlockVector ( ReservedBlockVector< BlockType, capacity > &&  )
default

◆ ~ReservedBlockVector()

template<class BlockType , int capacity>
Dumux::ReservedBlockVector< BlockType, capacity >::~ReservedBlockVector ( )
default

Member Function Documentation

◆ operator*=()

template<class BlockType , int capacity>
ReservedBlockVector & Dumux::ReservedBlockVector< BlockType, capacity >::operator*= ( const typename BlockType::field_type &  v)
inline

◆ operator+=()

template<class BlockType , int capacity>
ReservedBlockVector & Dumux::ReservedBlockVector< BlockType, capacity >::operator+= ( const ReservedBlockVector< BlockType, capacity > &  other)
inline

◆ operator-=()

template<class BlockType , int capacity>
ReservedBlockVector & Dumux::ReservedBlockVector< BlockType, capacity >::operator-= ( const ReservedBlockVector< BlockType, capacity > &  other)
inline

◆ operator/=()

template<class BlockType , int capacity>
ReservedBlockVector & Dumux::ReservedBlockVector< BlockType, capacity >::operator/= ( const typename BlockType::field_type &  v)
inline

◆ operator=() [1/3]

template<class BlockType , int capacity>
ReservedBlockVector & Dumux::ReservedBlockVector< BlockType, capacity >::operator= ( const ReservedBlockVector< BlockType, capacity > &  )
default

◆ operator=() [2/3]

template<class BlockType , int capacity>
ReservedBlockVector & Dumux::ReservedBlockVector< BlockType, capacity >::operator= ( const typename BlockType::field_type &  v)
inline

◆ operator=() [3/3]

template<class BlockType , int capacity>
ReservedBlockVector & Dumux::ReservedBlockVector< BlockType, capacity >::operator= ( ReservedBlockVector< BlockType, capacity > &&  )
default

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