read_data.h Source File

LibRPA: read_data.h Source File
LibRPA
read_data.h
1 /*
3  */
4 #ifndef READ_DATA_H
5 #define READ_DATA_H
6 
7 #include <string>
8 
9 #include "matrix.h"
10 #include "meanfield.h"
11 #include "ri.h"
12 #include "vector3_order.h"
13 
14 using std::string;
15 
16 void read_band(const string &file_path, MeanField &mf);
17 
24 int read_vxc(const string &file_path, std::vector<matrix> &vxc);
25 
26 void read_eigenvector(const string &dir_path, MeanField &mf);
27 
28 size_t read_Cs(const string &dir_path, double threshold, const vector<atpair_t> &local_atpair,
29  bool binary = false);
30 
31 size_t read_Cs_evenly_distribute(const string &dir_path, double threshold, int myid, int nprocs,
32  bool binary = false);
33 
34 size_t read_Vq_full(const string &dir_path, const string &vq_fprefix, bool is_cut_coulomb);
35 
36 size_t read_Vq_row(const string &dir_path, const string &vq_fprefix, double threshold,
37  const vector<atpair_t> &local_atpair, bool is_cut_coulomb);
38 
39 void read_stru(const int& n_kpoints, const std::string &file_path);
40 
41 void read_dielec_func(const string &file_path, std::vector<double> &omegas,
42  std::vector<double> &dielec_func_imagfreq);
43 
44 void erase_Cs_from_local_atp(atpair_R_mat_t &Cs, vector<atpair_t> &local_atpair);
45 
46 void get_natom_ncell_from_first_Cs_file(int &n_atom, int &n_cell, const string &dir_path, bool binary = false);
47 
48 #endif // !READ_DATA_H
Object of the meanfield input of Green's function.
Definition: meanfield.h:20
utilies to handle square matrix and related operations
Utilities to handle the mean-field starting point for many-body calculation.
Utilies related to resolution of identity.
atom_mapping< map< Vector3_Order< int >, std::shared_ptr< matrix > > >::pair_t_old atpair_R_mat_t
type alias of atom-pair mapping to real matrix indexed by unit-cell vector
Definition: ri.h:39