Dune Core Modules (2.7.1)
btdmatrix.hh
Go to the documentation of this file.
163 Impl::asMatrix(c[i]).leftmultiply(Impl::asMatrix(id)); /* Last value calculated is redundant. */
Implementation of the BCRSMatrix class.
void endrowsizes()
indicate that size of all rows is defined
Definition: bcrsmatrix.hh:1108
@ random
Build entries randomly.
Definition: bcrsmatrix.hh:489
void addindex(size_type row, size_type col)
add index (row,col) to the matrix
Definition: bcrsmatrix.hh:1150
void endindices()
indicate that all indices are defined, check consistency
Definition: bcrsmatrix.hh:1207
size_type N() const
number of rows (counted in blocks)
Definition: bcrsmatrix.hh:1931
void setSize(size_type rows, size_type columns, size_type nnz=0)
Set the size of the matrix.
Definition: bcrsmatrix.hh:820
BCRSMatrix & operator=(const BCRSMatrix &Mat)
assignment
Definition: bcrsmatrix.hh:870
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:46
static constexpr unsigned int blocklevel
increment block level counter
Definition: btdmatrix.hh:49
B block_type
export the type representing the components
Definition: btdmatrix.hh:37
typename Imp::BlockTraits< B >::field_type field_type
export the type representing the field
Definition: btdmatrix.hh:34
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
Implements a matrix constructed from a given type representing a field and compile-time given number ...
Implements a scalar matrix view wrapper around an existing scalar.
Implements a scalar vector view wrapper around an existing scalar.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)