source: PSPA/madxPSPA/src/mad_match2.h @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 1.1 KB
Line 
1#ifndef MAD_MATCH2_H
2#define MAD_MATCH2_H
3
4// types
5
6struct node;
7struct in_cmd;
8struct expression;
9
10// interface
11
12void match2_match(struct in_cmd*);
13void match2_end(struct in_cmd*);
14void match2_macro(struct in_cmd*);
15void match2_constraint(struct in_cmd*);
16int  match2_evaluate_exressions(int, int, double*);
17void match2_delete_expressions(void);
18int  match2_augmentnmacros(void);      /*increases space in the working arrays*/
19
20int  match2_print_var(struct in_cmd*);
21void match2_delete_arrays(void);
22
23// variables
24
25extern int MAX_MATCH_CONS; /*these are set to proper values at the initialization of the match2 module*/
26extern int MAX_MATCH_MACRO; /*zero values means that it is not initialized yet*/
27
28extern char match2_keepexpressions; /*do not delete expressions at the end matching used by match with PTC knobs*/
29
30extern char   **match2_macro_name;
31extern char*  **match2_cons_name;
32extern double **match2_cons_value;
33extern double **match2_cons_value_rhs;
34extern double **match2_cons_value_lhs;
35extern double **match2_cons_weight;
36extern char   **match2_cons_sign;
37extern int      match2_cons_curr[3];
38
39#endif // MAD_MATCH2_H
40
41
Note: See TracBrowser for help on using the repository browser.