Skip to content
Snippets Groups Projects
Commit b2b15512 authored by zhang's avatar zhang
Browse files

Add global variables to do ID correction: N_Fam_max; N_Fam; Q_Fam[];

Add function ID_corr0 ( ) which is written by Mao-sen Qiu at Tai wan light source.
parent f3ce2a2e
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,9 @@ extern double x_max_FMA, y_max_FMA, delta_FMA;
extern double delta_DA_;
extern const int N_Fam_max; //number of quadrupoles for ID correction
extern char ae_file[max_str], fe_file[max_str], ap_file[max_str];
extern int N_calls, N_steps;
extern int N_calls, N_steps, N_Fam, Q_Fam[]; //For ID correction
extern double disp_wave_y;
extern Vector2 beta_ref;
......@@ -258,6 +259,9 @@ void reset_quads(void);
void ini_ID_corr(void);
// From Taiwan light source
bool ID_corr0(void);
bool ID_corr(const int N_calls, const int N_steps);
void get_param(const char *param_file);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment