Dune Core Modules (2.6.0)
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bdmatrix.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:1108
void setrowsize(size_type i, size_type s)
Set number of indices in row i to s.
Definition: bcrsmatrix.hh:1076
@ 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:1894
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
A::size_type size_type
implement row_type with compressed vector
Definition: bdmatrix.hh:47
BDMatrix(std::initializer_list< B > const &list)
Construct from a std::initializer_list.
Definition: bdmatrix.hh:71
B block_type
export the type representing the components
Definition: bdmatrix.hh:38
BDMatrix & operator=(const BDMatrix &other)
assignment
Definition: bdmatrix.hh:98
B::field_type field_type
export the type representing the field
Definition: bdmatrix.hh:35
void setSize(size_type size)
Resize the matrix. Invalidates the content!
Definition: bdmatrix.hh:80
Utilities for reduction like operations on ranges.
