5 #ifndef SCAMAC_MATRIX_TOPINS_H 6 #define SCAMAC_MATRIX_TOPINS_H 10 #include "scamac_option_inc.h" 23 scamac_option_ty boundary_conditions;
24 scamac_rng_seed_ty seed;
28 } scamac_matrix_TopIns_params_st;
33 scamac_dof_lattice_cubic_st dof;
34 } scamac_matrix_TopIns_tables_st;
37 scamac_ransrc_st * rng;
38 } scamac_matrix_TopIns_work_st;
40 ScamacErrorCode scamac_matrix_TopIns_check(
const scamac_matrix_TopIns_params_st * par,
char ** desc);
41 ScamacErrorCode scamac_matrix_TopIns_tables_create(
const scamac_matrix_TopIns_params_st * par, scamac_matrix_TopIns_tables_st ** tab, scamac_info_st * info);
42 ScamacErrorCode scamac_matrix_TopIns_tables_destroy(scamac_matrix_TopIns_tables_st * tab);
43 ScamacErrorCode scamac_matrix_TopIns_work_alloc(
const scamac_matrix_TopIns_params_st * par,
const scamac_matrix_TopIns_tables_st * tab, scamac_matrix_TopIns_work_st ** ws);
44 ScamacErrorCode scamac_matrix_TopIns_work_free(scamac_matrix_TopIns_work_st * ws);
45 ScamacErrorCode scamac_matrix_TopIns_generate_row(
const scamac_matrix_TopIns_params_st * par,
const scamac_matrix_TopIns_tables_st * tab, scamac_matrix_TopIns_work_st * ws, ScamacIdx irow, ScamacFlag flag, scamac_sparserow_cplx_st * row);
Internal types and (macro) definitions.