|
dune-istl 2.11
|
Loading...
Searching...
No Matches
bdmatrix.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
Helper functions for determining the vector/matrix block level.
Implementation of the BCRSMatrix class.
int size() const
static constexpr IntegralRange< std::decay_t< T > > range(T &&from, U &&to) noexcept
T real_type
void endrowsizes()
indicate that size of all rows is defined
Definition bcrsmatrix.hh:1149
void endindices()
indicate that all indices are defined, check consistency
Definition bcrsmatrix.hh:1272
size_type N() const
number of rows (counted in blocks)
Definition bcrsmatrix.hh:2004
void setSize(size_type rows, size_type columns, size_type nnz=0)
Set the size of the matrix.
Definition bcrsmatrix.hh:859
BCRSMatrix & operator=(const BCRSMatrix &Mat)
assignment
Definition bcrsmatrix.hh:909
typename Imp::BlockTraits< B >::field_type field_type
export the type representing the field
Definition bdmatrix.hh:39
A::size_type size_type
implement row_type with compressed vector
Definition bdmatrix.hh:51
BDMatrix(std::initializer_list< B > const &list)
Construct from a std::initializer_list.
Definition bdmatrix.hh:72
B block_type
export the type representing the components
Definition bdmatrix.hh:42
void solve(V &x, const V &rhs) const
Solve the system Ax=b in O(n) time.
Definition bdmatrix.hh:116
BDMatrix & operator=(const BDMatrix &other)
assignment
Definition bdmatrix.hh:99
void setSize(size_type size)
Resize the matrix. Invalidates the content!
Definition bdmatrix.hh:81
typename BDMatrix< B, A >::field_type field_type
Definition bdmatrix.hh:150
typename FieldTraits< field_type >::real_type real_type
Definition bdmatrix.hh:151
T begin(T... args)
T end(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8