Dune Core Modules (2.6.0)
Dune::MultiTypeBlockVector< Args > Class Template Reference
A Vector class to support different block types. More...
#include <dune/istl/multitypeblockvector.hh>
Public Types | |
typedef MultiTypeBlockVector< Args... > | type |
typedef double | field_type |
The type used for scalars. More... | |
Public Member Functions | |
int | count () |
template<std::size_t index> | |
std::tuple_element< index, tupleType >::type & | operator[] (const std::integral_constant< std::size_t, index > indexVariable) |
Random-access operator. More... | |
template<std::size_t index> | |
const std::tuple_element< index, tupleType >::type & | operator[] (const std::integral_constant< std::size_t, index > indexVariable) const |
Const random-access operator. More... | |
template<typename T > | |
void | operator= (const T &newval) |
Assignment operator. | |
void | operator+= (const type &newv) |
void | operator-= (const type &newv) |
FieldTraits< field_type >::real_type | two_norm2 () const |
Compute the squared Euclidean norm. | |
FieldTraits< field_type >::real_type | two_norm () const |
Compute the Euclidean norm. | |
FieldTraits< field_type >::real_type | infinity_norm () const |
Compute the maximum norm. | |
template<typename Ta > | |
void | axpy (const Ta &a, const type &y) |
Axpy operation on this vector (*this += a * y) More... | |
Static Public Member Functions | |
static constexpr std::size_t | size () |
Return the number of vector entries. | |
Detailed Description
template<typename... Args>
class Dune::MultiTypeBlockVector< Args >
class Dune::MultiTypeBlockVector< Args >
A Vector class to support different block types.
This vector class combines elements of different types known at compile-time.
The documentation for this class was generated from the following file:
- dune/istl/multitypeblockvector.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)