dune-fem 2.8.0
|
An implementation of DenseVector to extract a portion, not necessarly contiguos, of a vector. More...
#include <dune/fem/storage/subvector.hh>
Public Types | |
typedef BaseType::size_type | size_type |
typedef BaseType::value_type | value_type |
typedef BaseVectorImp | BaseVectorType |
Type of the base vector. | |
typedef IndexMapperImp | IndexMapperType |
Type of the index mapper. | |
typedef value_type | FieldType |
Type of vector elements. | |
Public Member Functions | |
SubVector (BaseVectorType &baseVector, IndexMapperType &&indexMapper) | |
Constructor. | |
SubVector (const ThisType &other) | |
ThisType & | operator= (const ThisType &other) |
Copy entries. | |
void | clear () |
void | resize (size_type) |
const value_type & | operator[] (size_type i) const |
value_type & | operator[] (size_type i) |
size_type | size () const |
An implementation of DenseVector to extract a portion, not necessarly contiguos, of a vector.
BaseVectorImp | The base vector |
IndexMapperImp | The index mapper |
typedef BaseVectorImp Dune::Fem::SubVector< BaseVectorImp, IndexMapperImp >::BaseVectorType |
Type of the base vector.
typedef value_type Dune::Fem::SubVector< BaseVectorImp, IndexMapperImp >::FieldType |
Type of vector elements.
typedef IndexMapperImp Dune::Fem::SubVector< BaseVectorImp, IndexMapperImp >::IndexMapperType |
Type of the index mapper.
typedef BaseType::size_type Dune::Fem::SubVector< BaseVectorImp, IndexMapperImp >::size_type |
typedef BaseType::value_type Dune::Fem::SubVector< BaseVectorImp, IndexMapperImp >::value_type |
|
inlineexplicit |
Constructor.
|
inline |
|
inline |
|
inline |
Copy entries.
|
inline |
|
inline |
|
inline |
|
inline |