HLIBpro  1.2
Public Member Functions | Protected Member Functions | List of all members
TH2MatBuilder< T > Class Template Reference

Base class for H² matrix builders providing leaf bulding function with corresponding cluster bases.

#include <TMatBuilder.hh>

Inheritance diagram for TH2MatBuilder< T >:
TMatBuilder

Public Member Functions

 TH2MatBuilder (const cl_basis_t *row_cb, const cl_basis_t *col_cb)
 construct H2 matrix builder with supplied cluster bases
virtual TMatrixbuild_leaf (const TBlockCluster *bc, const matform_t matformat, const TTruncAcc &acc) const
 construct matrices for leaves in the block cluster tree
virtual TMatrixbuild_uniform_leaf (const TBlockCluster *bc, const cl_basis_t *row_cb, const cl_basis_t *col_cb, const matform_t matformat, const TTruncAcc &acc) const =0
 construct uniform matrices for leaves in the block cluster tree
- Public Member Functions inherited from TMatBuilder
 TMatBuilder (const bool coarsening=CFG::Arith::coarsen_build)
void set_coarsening (const bool b)
 (de-) activate coarsening with standard accuracy
void set_coarsening (const TTruncAcc &acc)
 activate coarsening with accuracy acc
virtual TMatrixbuild (const uint nthreads, const TBlockClusterTree *bct, const TTruncAcc &acc, TProgressBar *progress=NULL) const
 build the H-matrix with block-wise accuracy defined by acc
virtual TMatrixbuild (const uint nthreads, const TBlockCluster *bc, const TTruncAcc &acc, TProgressBar *progress=NULL) const
virtual TMatrixbuild (const uint nthreads, const TBlockClusterTree *cluster, const matform_t matformat, const TTruncAcc &acc, TProgressBar *progress=NULL) const
 same as
virtual TMatrixbuild (const uint nthreads, const TBlockCluster *cluster, const matform_t matformat, const TTruncAcc &acc, TProgressBar *progress=NULL) const
 same as

Protected Member Functions

virtual TBlockMatrixbuild_blocked (const TBlockCluster *bc) const
 build blocked matrix
virtual TMatrixbuild_ghost (const TBlockCluster *bc) const
 build placeholder matrix for remote blocks
- Protected Member Functions inherited from TMatBuilder
virtual TMatrixthr_build (const uint nthreads, const TBlockCluster *bc, const matform_t matformat, const TTruncAcc &acc, TProgressBar *progress) const
 threaded building process
virtual matform_t matrix_format () const =0
 return matrix format

Additional Inherited Members

- Protected Attributes inherited from TMatBuilder
bool _coarsening
 if true, coarsening is applied during construction
bool _use_construct_acc
TTruncAcc _coarse_acc
 defines coarsening accuracy