QNANO
Sparse_Matrix_Generator_From_File.h
1 #ifndef QNANO_NEW_SPARSE_MATRIX_GENERATOR_FROM_FIILE_DEFINED_H
2 #define QNANO_NEW_SPARSE_MATRIX_GENERATOR_FROM_FIILE_DEFINED_H
3 
4 #include "tools/Sparse_Matrix_Generator.h"
5 #include "tools/Random_Access_Reader.h"
6 #include "MPI/Distribute_Block_MPI.h"
7 #include "tools/Parameter_Map.h"
8 #include "MPI/MPI_Distribute.h"
9 
10 //class Sparse_Matrix_Generator: public virtual Organize_Blocks{
12 public:
14  Random_Access_Reader rar_IA;
15  Random_Access_Reader rar_JA;
16  Random_Access_Reader rar_values;
17  int line_start_JA;
18 
19  void setup(Parameter_Map &param_map);
20 
21  virtual void get_Matrix_row_block( std::vector< col_val > & col_val_vec, const int atom_index) ;
22 
23 // Sparse_Matrix_Generator_From_File(){
24 // }
26  setup(param_map);
27  }
28 
29 };
30 #endif
Definition: Organize_Blocks.h:42
Definition: Random_Access_Reader.h:29
Definition: Parameter_Map.h:12
Definition: Distribute_Block_MPI.h:8
Definition: Sparse_Matrix_Generator_From_File.h:11
Definition: Sparse_Matrix_Generator.h:22
virtual void get_Matrix_row_block(std::vector< col_val > &col_val_vec, const int atom_index)
Number of blocks.
Definition: Sparse_Matrix_Generator_From_File.cc:122