4
** Contains the function prototypes for the C routines in the GENCI
9
#ifndef _psi_src_bin_detci_genci_h
10
#define _psi_src_bin_detci_genci_h
12
namespace psi { namespace detci {
14
int schmidt_addoc(double *buffer4, double *buffer5, int buf_size,
15
int extra_buf, int num_buf, PSI_FPTR d_index,
16
int N, int L, int b_file, int d_file);
17
void v_normalize(double *A, PSI_FPTR index, int buf_size,
18
int extra_buf, int num_buf, int d_file);
19
double *v_schmidt(double *buffer4, double *buffer5, int buf_size,
20
int extra_buf, int num_buf, int N, int L, int b_file);
21
void det2strings(BIGINT det, int *alp_code, int *alp_idx,
22
int *bet_code, int *bet_idx);
23
BIGINT strings2det(int alp_code, int alp_idx, int bet_code, int bet_idx);
24
void unit_guess(int alp_code, int alp_idx, int bet_code, int bet_idx,
25
int switch_buf3, double *buffer, int buf_size,
26
int num_buf, int extra_buf, PSI_FPTR b_file,
27
PSI_FPTR b_writ, int M, int N);
28
void max_element(double *buffer, int num_elements, double *max, int *max_num);
29
void min_element(double *buffer, int num_elements, double *min, int *min_num);
30
void read_c(int switch_buf3, double *buffer, int buf_size, int num_buf,
31
int extra_buf, int b_file, PSI_FPTR b_writ,
32
int c_file, PSI_FPTR c_index);
34
}} // namespace psi::detci
36
#endif // header guard