Last change
on this file since 3 was
3,
checked in by zhangj, 12 years ago
|
Initiale import
|
-
Property svn:executable set to
*
|
File size:
1.7 KB
|
Line | |
---|
1 | // |
---|
2 | // C++ Interface: %{MODULE} |
---|
3 | // |
---|
4 | // Description: |
---|
5 | // |
---|
6 | // |
---|
7 | // Author: %{AUTHOR} <%{EMAIL}>, (C) %{YEAR} |
---|
8 | // |
---|
9 | // Copyright: See COPYING file that comes with this distribution |
---|
10 | // |
---|
11 | // |
---|
12 | |
---|
13 | /* Tracy-3 |
---|
14 | |
---|
15 | J. Bengtsson, BNL 2007 |
---|
16 | |
---|
17 | ORDER 1 link to the linear TPSA (nv_tps = 1) |
---|
18 | >1 link to Berz' TPSA |
---|
19 | |
---|
20 | */ |
---|
21 | |
---|
22 | // C standard library |
---|
23 | #include <stdint.h> |
---|
24 | #include <stdio.h> |
---|
25 | #include <stddef.h> |
---|
26 | #include <setjmp.h> |
---|
27 | #include <time.h> |
---|
28 | #include <memory.h> |
---|
29 | #if !defined(__APPLE__) |
---|
30 | #include <malloc.h> |
---|
31 | #endif |
---|
32 | //#include <execinfo.h> |
---|
33 | |
---|
34 | |
---|
35 | // C++ standard library |
---|
36 | #include <cstdlib> |
---|
37 | #include <cfloat> |
---|
38 | #include <cctype> |
---|
39 | #include <cmath> |
---|
40 | #include <iostream> |
---|
41 | #include <sstream> |
---|
42 | #include <iomanip> |
---|
43 | #include <fstream> |
---|
44 | using namespace std; |
---|
45 | |
---|
46 | // Tracy-3 |
---|
47 | #include "field.h" |
---|
48 | #include "mathlib.h" |
---|
49 | |
---|
50 | #if ORDER == 1 |
---|
51 | // linear TPSA |
---|
52 | #include "tpsa_lin.h" |
---|
53 | #include "tpsa_lin_pm.h" |
---|
54 | #else |
---|
55 | // interface to M. Berz' TPSA |
---|
56 | #include "tpsa_for.h" |
---|
57 | #include "tpsa_for_pm.h" |
---|
58 | #endif |
---|
59 | |
---|
60 | #include "tracy.h" |
---|
61 | #include "tracy_global.h" |
---|
62 | #include "ety.h" |
---|
63 | |
---|
64 | #include "num_rec.h" |
---|
65 | |
---|
66 | #include "radia2tracy.h" |
---|
67 | #include "pascalio.h" |
---|
68 | |
---|
69 | #include "t2elem.h" |
---|
70 | #include "t2cell.h" |
---|
71 | #include "t2lat.h" |
---|
72 | #include "t2ring.h" |
---|
73 | |
---|
74 | #include "fft.h" |
---|
75 | |
---|
76 | #include "physlib.h" |
---|
77 | #include "nsls-ii_lib.h" |
---|
78 | |
---|
79 | |
---|
80 | #include "lsoc.h" |
---|
81 | |
---|
82 | #include "naffutils.h" |
---|
83 | |
---|
84 | #include "soleillib.h" |
---|
85 | |
---|
86 | #include "modnaff.h" |
---|
87 | |
---|
88 | #include "rdmfile.h" |
---|
89 | #include "prtmfile.h" |
---|
90 | |
---|
91 | #include "nsls-ii_lib.h" |
---|
92 | |
---|
93 | #include "max4_lib.h" |
---|
94 | #include "soleilcommon.h" |
---|
95 | #include "read_script.h" |
---|
96 | |
---|
97 | // Truncated Power Series Algebra (TPSA) |
---|
98 | extern const int nv_tps, nd_tps, ndpt_tps, iref_tps; |
---|
99 | extern int no_tps; |
---|
100 | extern double eps_tps; |
---|
101 | |
---|
102 | extern ElemFamType ElemFam[]; |
---|
103 | |
---|
104 | extern CellType Cell[]; |
---|
105 | |
---|
106 | extern globvalrec globval; |
---|
107 | |
---|
108 | |
---|
Note: See
TracBrowser
for help on using the repository browser.