Creates H-matrices out of sparse matrices.
|
| TSparseMatBuilder (const TSparseMatrix *sparse_mat, const TPermutation *row_perm_i2e, const TPermutation *col_perm_e2i) |
| construct TSparseMatBuilder object with given sparse matrix and permutations
|
|
| TSparseMatBuilder (const TSparseMatrix *sparse_mat, const TPermutation *row_perm_i2e, const TPermutation *col_perm_e2i, const value_type_t value_type) |
|
void | set_sparse_mode (const bool b) |
| (de-) activate construction of sparse leaves
|
|
void | set_use_zero_mat (const bool b) |
| (de-) activate construction of sparse leaves
|
|
virtual std::unique_ptr< TMatrix > | build_leaf (const TBlockCluster *bc, const matform_t matformat, const TTruncAcc &acc) const |
| construct matrices for leaves in block cluster tree
|
|
virtual std::unique_ptr< TMatrix > | build_ghost (const TBlockCluster *bc) const |
| build placeholder matrix for remote blocks
|
|
virtual matform_t | matrix_format () const |
| return matrix format
|
|
| TMatBuilder (const bool coarsening=CFG::Build::coarsen) |
|
void | set_coarsening (const bool b) |
| (de-) activate coarsening with standard accuracy (default: off)
|
|
void | set_coarsening (const TTruncAcc &acc) |
| activate coarsening with accuracy acc
|
|
void | set_build_ghosts (const bool b) |
|
void | set_bc_builder (const TBCBuilder *bc_builder) |
| set block cluster tree builder object (default: nullptr)
|
|
virtual std::unique_ptr< TMatrix > | build (const TBlockClusterTree *bct, const TTruncAcc &acc, TProgressBar *progress=nullptr) const |
| build the H-matrix with block-wise accuracy defined by acc
|
|
virtual std::unique_ptr< TMatrix > | build (const TBlockCluster *bc, const TTruncAcc &acc, TProgressBar *progress=nullptr) const |
|
virtual std::unique_ptr< TMatrix > | build (const TBlockClusterTree *cluster, const matform_t matformat, const TTruncAcc &acc, TProgressBar *progress=nullptr) const |
| same as More...
|
|
virtual std::unique_ptr< TMatrix > | build (const TBlockCluster *cluster, const matform_t matformat, const TTruncAcc &acc, TProgressBar *progress=nullptr) const |
| same as More...
|
|
virtual std::unique_ptr< TBlockMatrix > | build_blocked (const TBlockCluster *bc) const |
| build blocked matrix
|
|
const stat_t & | statistics () const |
| return statistics information
|
|