Skip to content

Commit

Permalink
mod
Browse files Browse the repository at this point in the history
  • Loading branch information
tmisawa committed Apr 13, 2024
1 parent df0277d commit bf3bed6
Show file tree
Hide file tree
Showing 2 changed files with 853 additions and 769 deletions.
57 changes: 40 additions & 17 deletions src/include/sz.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
#include "Common.h"

int omp_sz(
long unsigned int ib,
long unsigned int ihfbit,
struct BindStruct *X,
long unsigned int *list_1_,
long unsigned int *list_2_1_,
long unsigned int *list_2_2_,
long unsigned int *list_jb_
);
long unsigned int ib,
long unsigned int ihfbit,
struct BindStruct *X,
long unsigned int *list_1_,
long unsigned int *list_2_1_,
long unsigned int *list_2_2_,
long unsigned int *list_jb_
);

int omp_sz_hacker(
long unsigned int ib,
Expand Down Expand Up @@ -76,8 +76,17 @@ int omp_sz_spin_hacker(
long unsigned int *list_2_1_,
long unsigned int *list_2_2_,
long unsigned int *list_jb_
);
);

int omp_sz_Kondo_hacker(
long unsigned int ib,
long unsigned int ihfbit,
struct BindStruct *X,
long unsigned int *list_1_,
long unsigned int *list_2_1_,
long unsigned int *list_2_2_,
long unsigned int *list_jb_
);


int omp_sz_GeneralSpin(
Expand Down Expand Up @@ -106,11 +115,25 @@ int sz(
long unsigned int *list_2_2_
);

int Read_sz
(
struct BindStruct *X,
const long unsigned int irght,
const long unsigned int ilft,
const long unsigned int ihfbit,
long unsigned int *i_max
);
int Read_sz(
struct BindStruct *X,
const long unsigned int irght,
const long unsigned int ilft,
const long unsigned int ihfbit,
long unsigned int *i_max
);

/*[s] func. for refactoring */
int count_localized_spins(struct BindStruct *X);
void calculate_jb_GeneralSpin(struct BindStruct *X, long unsigned int *list_jb, long int *list_2_1_Sz,long int *list_2_2_Sz, long unsigned int ihfbit,long unsigned int ilftdim,unsigned int N);
void calculate_jb_Spin_m1(struct BindStruct *X, long unsigned int *list_jb, long unsigned int *list_1_, long unsigned int *list_2_1,long unsigned int *list_2_2,\
long unsigned int ihfbit,long unsigned int irght,long unsigned int ilft,long unsigned int ibpatn, unsigned int N);
void calculate_jb_Spin_Old(struct BindStruct *X, long unsigned int *list_jb, long unsigned int ihfbit,unsigned int N);
void calculate_jb_Spin_Hacker(struct BindStruct *X, long unsigned int *list_jb, long unsigned int ihfbit,unsigned int N);
void calculate_jb_Kondo(struct BindStruct *X, long unsigned int *list_jb, long unsigned int ihfbit);
void calculate_jb_KondoGC(struct BindStruct *X, int num_loc, long unsigned int *list_jb, long unsigned int ihfbit);
void calculate_jb_Hubbard(struct BindStruct *X,long unsigned int *list_jb, long unsigned int ihfbit, unsigned int N2);
void calculate_jb_Hubbard_Hacker(struct BindStruct *X,long unsigned int *list_jb, long unsigned int ihfbit, unsigned int N2);
void calculate_jb_HubbardNCoserved(struct BindStruct *X,long unsigned int *list_jb, long unsigned int ihfbit, unsigned int N2);
void calculate_jb_HubbardNCoserved_Hacker(struct BindStruct *X,long unsigned int *list_jb, long unsigned int ihfbit, unsigned int N2);
/*[e] func. for refactoring */
Loading

0 comments on commit bf3bed6

Please sign in to comment.