|
dune-istl 2.12-git
|
Loading...
Searching...
No Matches
btdmatrix.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
Implementation of the BCRSMatrix class.
int size() const
T real_type
void endrowsizes()
indicate that size of all rows is defined
Definition bcrsmatrix.hh:1153
void addindex(size_type row, size_type col)
add index (row,col) to the matrix
Definition bcrsmatrix.hh:1195
void endindices()
indicate that all indices are defined, check consistency
Definition bcrsmatrix.hh:1276
size_type N() const
number of rows (counted in blocks)
Definition bcrsmatrix.hh:2008
void setSize(size_type rows, size_type columns, size_type nnz=0)
Set the size of the matrix.
Definition bcrsmatrix.hh:860
BCRSMatrix & operator=(const BCRSMatrix &Mat)
assignment
Definition bcrsmatrix.hh:910
void solve(V &x, const V &rhs) const
Use the Thomas algorithm to solve the system Ax=b in O(n) time.
Definition btdmatrix.hh:121
A::size_type size_type
implement row_type with compressed vector
Definition btdmatrix.hh:49
B block_type
export the type representing the components
Definition btdmatrix.hh:40
typename Imp::BlockTraits< B >::field_type field_type
export the type representing the field
Definition btdmatrix.hh:37
BTDMatrix & operator=(const BTDMatrix &other)
assignment
Definition btdmatrix.hh:104
void setSize(size_type size)
Resize the matrix. Invalidates the content!
Definition btdmatrix.hh:77
typename FieldTraits< field_type >::real_type real_type
Definition btdmatrix.hh:204
typename BTDMatrix< B, A >::field_type field_type
Definition btdmatrix.hh:203
T size(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8