Dune Core Modules (2.4.2)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
btdmatrix.hh
Go to the documentation of this file.
Implementation of the BCRSMatrix class.
void endrowsizes()
indicate that size of all rows is defined
Definition: bcrsmatrix.hh:1109
void setrowsize(size_type i, size_type s)
set number of indices in row i to s
Definition: bcrsmatrix.hh:1077
@ random
Build entries randomly.
Definition: bcrsmatrix.hh:479
void addindex(size_type row, size_type col)
add index (row,col) to the matrix
Definition: bcrsmatrix.hh:1151
void endindices()
indicate that all indices are defined, check consistency
Definition: bcrsmatrix.hh:1208
size_type N() const
number of rows (counted in blocks)
Definition: bcrsmatrix.hh:1849
BCRSMatrix & operator=(const BCRSMatrix &Mat)
assignment
Definition: bcrsmatrix.hh:868
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:112
A::size_type size_type
implement row_type with compressed vector
Definition: btdmatrix.hh:44
B::field_type field_type
export the type representing the field
Definition: btdmatrix.hh:32
B block_type
export the type representing the components
Definition: btdmatrix.hh:35
BTDMatrix & operator=(const BTDMatrix &other)
assignment
Definition: btdmatrix.hh:95
Implements a matrix constructed from a given type representing a field and compile-time given number ...
