DUNE-FEM (unstable)
subvector.hh
28 typedef std::decay_t< decltype( std::declval< K >()[ std::declval< size_type >() ] ) > value_type;
34 typedef typename FieldTraits< typename DenseMatVecTraits< Fem::SubVector< K, M > >::value_type >::field_type field_type;
35 typedef typename FieldTraits< typename DenseMatVecTraits< Fem::SubVector< K, M > >::value_type >::real_type real_type;
Interface for a class of dense vectors over a given field.
Definition: densevector.hh:229
Traits::value_type value_type
export the type representing the field
Definition: densevector.hh:250
Traits::size_type size_type
The type used for the index access and size operation.
Definition: densevector.hh:259
unsigned int operator[](unsigned int index) const
Maps an index onto another one.
Definition: subvector.hh:57
unsigned int size() const
Returns the map's size.
Definition: subvector.hh:69
ThisType IndexMapperInterfaceType
Type of the interface.
Definition: subvector.hh:54
unsigned int range() const
Returns the map's range.
Definition: subvector.hh:63
IM IndexMapperType
Type of the implementation (Barton-Nackman)
Definition: subvector.hh:51
Index mapper which simply adds an offset to the index.
Definition: subvector.hh:83
Index mapper with static size which simply adds an offset to the index.
Definition: subvector.hh:121
An implementation of DenseVector to extract a portion, not necessarly contiguos, of a vector.
Definition: subvector.hh:161
ThisType & operator=(const ThisType &other)
Copy entries.
Definition: subvector.hh:190
BaseVectorImp BaseVectorType
Type of the base vector.
Definition: subvector.hh:172
value_type FieldType
Type of vector elements.
Definition: subvector.hh:178
IndexMapperImp IndexMapperType
Type of the index mapper.
Definition: subvector.hh:175
SubVector(BaseVectorType &baseVector, IndexMapperType &&indexMapper)
Constructor.
Definition: subvector.hh:181
Implements the dense vector interface, with an exchangeable storage class.
Type traits to determine the type of reals (when working with complex numbers)
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)