31 void setup(
int nrecl,
int nprec,
int nspin,
int nwk,
int nband,
32 double* nb1,
double* nb2,
double* nb3,
double ecut,
33 double* lattice,
double* reclattice);
57 kpoint_t**
read_one_band(
int* G_bounds,
double* kpt_weights,
int* ns,
int* nk,
int* nb,
int BAND_NUM,
char* filename);
struct WAVECAR_FILE WAVECAR
pswf_t * read_wavefunctions_from_str(char *start, double *kpt_weights)
WAVECAR * wcopen(char *f, int type)
FILE * fp
Definition: reader.h:15
void wcclose(WAVECAR *wc)
char * curr
Definition: reader.h:17
void wcseek(WAVECAR *wc, long loc)
pswf_t * read_wavecar(WAVECAR *wc, double *kpt_weights)
void setup(int nrecl, int nprec, int nspin, int nwk, int nband, double *nb1, double *nb2, double *nb3, double ecut, double *lattice, double *reclattice)
void wcread(void *ptr0, long size, long nmemb, WAVECAR *wc)
kpoint_t ** read_one_band(int *G_bounds, double *kpt_weights, int *ns, int *nk, int *nb, int BAND_NUM, char *filename)
char * start
Definition: reader.h:16
int type
Definition: reader.h:14
pswf_t * read_wavefunctions(char *filename, double *kpt_weights)