jeromerobert / hmat-oss

A hierarchical matrix C/C++ library
GNU General Public License v2.0
22 stars 11 forks source link

Added necessary modifications for sparse (nested dissection) H-Matrices #46

Closed aurelienfalco closed 8 years ago

aurelienfalco commented 8 years ago

Added some flags and methods to get more info on a node: for example allocated Zeros ("useless" information); Transformation of some clustering routines into a class "AxisAlignClusteringAlgorithm" to avoid code duplication in sparse code; When in "Union" (sparse-specific case), do not create the childs (0,1) and (1,0): huge gain in memory and time performance; Postcript: printed in a square format, and Full Blocks are colored according to the number of non-zeros they store (darker is better); Adaptation of gemmRk to work with A and B of different shapes (not the same number of children) and with nodes with less than 4 children