1 #ifndef QNANO_NEW_SPARSE_MATRIX_GENERATOR 2 #define QNANO_NEW_SPARSE_MATRIX_GENERATOR 4 #include "tools/Reader.h" 6 #include "tools/Organize_Blocks.h" 19 typedef std::vector<std::pair<size_t, std::complex<double> > > col_val;
30 virtual void get_Matrix_row_block( std::vector< col_val > & col_val_vec,
const int atom_index) = 0;
33 void dump_sparse_Matrix(
const std::string &file_IA,
const std::string &file_JA,
const std::string &file_values);
Definition: Organize_Blocks.h:13
Definition: Sparse_Matrix_Generator.h:22
void dump_sparse_Matrix(const std::string &file_IA, const std::string &file_JA, const std::string &file_values)
Support for dumping the sparse Matrix.
Definition: Sparse_Matrix_Generator.cc:3
Definition: Sparse_Matrix_Generator.h:37
virtual void get_Matrix_row_block(std::vector< col_val > &col_val_vec, const int atom_index)=0
Number of blocks.
Definition: Organize_Blocks.h:86