3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Public Member Functions | List of all members
Dumux::ReservedBlockVector< BlockType, capacity > Class Template Reference

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

#include <dumux/common/reservedblockvector.hh>

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

Description

template<class BlockType, int capacity>
class Dumux::ReservedBlockVector< BlockType, capacity >

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

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)
 assigment 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

multiplication by scalar

◆ operator+=()

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

vector space addition

◆ operator-=()

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

vector space subtraction

◆ operator/=()

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

division by scalar

◆ 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

assigment from scalar

◆ 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: