HiRep 0.1
Loading...
Searching...
No Matches
update_algo.h
1
5
6#ifndef UPDATE_ALGO_H
7#define UPDATE_ALGO_H
8
9#include "integrators.h"
10#include "Observables/glueballs.h"
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16//update_hb.c
17void project_gauge_field(void);
18void update(double *beta, int nhb, int nor);
19void exec_project(void); // GPU helper
20
21//update_hb_multilevel.c
22void init_hb_multilevel(int lev, double lbeta, int lnhb, int lnor, int *lml_up, int *lml_skip, int lnblockingstart,
23 int lnblockingend, double lsmear_val, cor_list *llcor);
24void update_hb_multilevel_gb_measure(int lev);
25void update_hb_multilevel_gb_tune(int tuning_level);
26
27//update_mt.c
28typedef struct ghmc_par {
29 /* integrator */
30 integrator_par *integrator;
31 double tlen;
32 double csw;
33 double rho_s;
34 double rho_t;
35
36 /* Fermion Theta angles */
37 double theta[4];
38
39 /* SF stuff */
40 double SF_zf;
41 double SF_ds;
42 int SF_sign;
43 double SF_ct;
44 int SF_background;
45
46} ghmc_par;
47
48void init_ghmc(ghmc_par *par);
49void free_ghmc();
50int update_ghmc();
51int reverse_update_ghmc();
52#ifdef MEASURE_FORCEHMC
53//TODO: these two are only used in
54// in HMC/hmc_forces.c
55// move to local header and move the implementation there
56void corret_pf_dist_hmc();
57void calc_one_force(int n_force);
58#endif
59
60#ifdef __cplusplus
61}
62#endif
63#endif //UPDATE_ALGO_H
Definition glueballs.h:27
Definition update_algo.h:28
Definition integrators.h:11