5 #ifndef SCAMAC_MATRIX_HUBBARD_H 6 #define SCAMAC_MATRIX_HUBBARD_H 10 #include "scamac_option_inc.h" 20 scamac_option_ty boundary_conditions;
22 scamac_rng_seed_ty seed;
23 } scamac_matrix_Hubbard_params_st;
29 scamac_multidx_st *midx;
30 scamac_dof_fermions_st ** dof;
32 } scamac_matrix_Hubbard_tables_st;
35 scamac_rep_fermions_st ** rep, ** repinit;
36 scamac_dof_fermions_st ** dof;
37 } scamac_matrix_Hubbard_work_st;
39 ScamacErrorCode scamac_matrix_Hubbard_check(
const scamac_matrix_Hubbard_params_st * par,
char ** desc);
40 ScamacErrorCode scamac_matrix_Hubbard_tables_create(
const scamac_matrix_Hubbard_params_st * par, scamac_matrix_Hubbard_tables_st ** tab, scamac_info_st * info);
41 ScamacErrorCode scamac_matrix_Hubbard_tables_destroy(scamac_matrix_Hubbard_tables_st * tab);
42 ScamacErrorCode scamac_matrix_Hubbard_work_alloc(
const scamac_matrix_Hubbard_params_st * par,
const scamac_matrix_Hubbard_tables_st * tab, scamac_matrix_Hubbard_work_st ** ws);
43 ScamacErrorCode scamac_matrix_Hubbard_work_free(scamac_matrix_Hubbard_work_st * ws);
44 ScamacErrorCode scamac_matrix_Hubbard_generate_row(
const scamac_matrix_Hubbard_params_st * par,
const scamac_matrix_Hubbard_tables_st * tab, scamac_matrix_Hubbard_work_st * ws, ScamacIdx irow, ScamacFlag flag, scamac_sparserow_real_st * row);
Internal types and (macro) definitions.