1 | subroutine w_ptc_create_universe() |
---|
2 | use madx_ptc_module |
---|
3 | implicit none |
---|
4 | call ptc_create_universe() |
---|
5 | end subroutine w_ptc_create_universe |
---|
6 | |
---|
7 | subroutine w_ptc_create_layout() |
---|
8 | use madx_ptc_module |
---|
9 | implicit none |
---|
10 | call ptc_create_layout() |
---|
11 | end subroutine w_ptc_create_layout |
---|
12 | |
---|
13 | subroutine w_ptc_export_xml(filename) |
---|
14 | use ptc_export_xml_module |
---|
15 | implicit none |
---|
16 | integer filename(*) |
---|
17 | call ptc_export_xml(filename) |
---|
18 | end subroutine w_ptc_export_xml |
---|
19 | |
---|
20 | subroutine w_ptc_move_to_layout() |
---|
21 | use madx_ptc_module |
---|
22 | implicit none |
---|
23 | call ptc_move_to_layout() |
---|
24 | end subroutine w_ptc_move_to_layout |
---|
25 | |
---|
26 | subroutine w_ptc_read_errors() |
---|
27 | use madx_ptc_module |
---|
28 | implicit none |
---|
29 | call ptc_read_errors() |
---|
30 | end subroutine w_ptc_read_errors |
---|
31 | |
---|
32 | subroutine w_ptc_refresh_k() |
---|
33 | use madx_ptc_module |
---|
34 | implicit none |
---|
35 | call ptc_refresh_k() |
---|
36 | end subroutine w_ptc_refresh_k |
---|
37 | |
---|
38 | subroutine w_ptc_input() |
---|
39 | use madx_ptc_module |
---|
40 | implicit none |
---|
41 | call ptc_input() |
---|
42 | end subroutine w_ptc_input |
---|
43 | |
---|
44 | subroutine w_ptc_align() |
---|
45 | use madx_ptc_module |
---|
46 | implicit none |
---|
47 | call ptc_align() |
---|
48 | end subroutine w_ptc_align |
---|
49 | |
---|
50 | subroutine w_ptc_twiss(tab_name, summary_name) |
---|
51 | use madx_ptc_twiss_module |
---|
52 | implicit none |
---|
53 | integer tab_name(*) |
---|
54 | integer summary_name(*) |
---|
55 | call ptc_twiss(tab_name, summary_name) |
---|
56 | end subroutine w_ptc_twiss |
---|
57 | |
---|
58 | subroutine w_ptc_normal() |
---|
59 | use madx_ptc_normal_module |
---|
60 | implicit none |
---|
61 | call ptc_normal() |
---|
62 | end subroutine w_ptc_normal |
---|
63 | |
---|
64 | subroutine w_ptc_moments(no) |
---|
65 | use madx_ptc_distrib_module |
---|
66 | implicit none |
---|
67 | integer no |
---|
68 | call ptc_moments(no) |
---|
69 | end subroutine w_ptc_moments |
---|
70 | |
---|
71 | subroutine w_ptc_initmoments() |
---|
72 | use madx_ptc_distrib_module |
---|
73 | implicit none |
---|
74 | call initmoments() |
---|
75 | end subroutine w_ptc_initmoments |
---|
76 | |
---|
77 | subroutine w_ptc_dumpmaps() |
---|
78 | use madx_ptc_module |
---|
79 | implicit none |
---|
80 | call ptc_dumpmaps() |
---|
81 | end subroutine w_ptc_dumpmaps |
---|
82 | |
---|
83 | subroutine w_ptc_track(max_obs) |
---|
84 | use madx_ptc_module |
---|
85 | USE madx_ptc_track_run_module, ONLY: ptc_track_run |
---|
86 | implicit none |
---|
87 | integer max_obs |
---|
88 | call ptc_track_run(max_obs) |
---|
89 | end subroutine w_ptc_track |
---|
90 | |
---|
91 | subroutine w_ptc_trackline(max_obs) |
---|
92 | use madx_ptc_trackline_module |
---|
93 | implicit none |
---|
94 | integer max_obs |
---|
95 | call ptc_trackline(max_obs) |
---|
96 | end subroutine w_ptc_trackline |
---|
97 | |
---|
98 | subroutine w_ptc_track_everystep(max_obs) |
---|
99 | use madx_ptc_trackline_module |
---|
100 | implicit none |
---|
101 | integer max_obs |
---|
102 | call ptc_track_everystep(max_obs) |
---|
103 | end subroutine w_ptc_track_everystep |
---|
104 | |
---|
105 | subroutine w_ptc_setdebuglevel(level) |
---|
106 | use madx_ptc_intstate_module |
---|
107 | implicit none |
---|
108 | integer level |
---|
109 | call ptc_setdebuglevel(level) |
---|
110 | end subroutine w_ptc_setdebuglevel |
---|
111 | |
---|
112 | subroutine w_ptc_enforce6D(level) |
---|
113 | use madx_ptc_intstate_module |
---|
114 | implicit none |
---|
115 | integer level |
---|
116 | call setenforce6D(level) |
---|
117 | end subroutine w_ptc_enforce6D |
---|
118 | |
---|
119 | subroutine w_ptc_putbeambeam() |
---|
120 | use madx_ptc_module |
---|
121 | implicit none |
---|
122 | call putbeambeam() |
---|
123 | end subroutine w_ptc_putbeambeam |
---|
124 | |
---|
125 | subroutine w_ptc_setaccel_method(method) |
---|
126 | use madx_ptc_intstate_module |
---|
127 | implicit none |
---|
128 | integer method |
---|
129 | call ptc_setaccel_method(method) |
---|
130 | end subroutine w_ptc_setaccel_method |
---|
131 | |
---|
132 | subroutine w_ptc_setexactmis(method) |
---|
133 | use precision_constants |
---|
134 | use madx_ptc_intstate_module |
---|
135 | implicit none |
---|
136 | integer method |
---|
137 | call ptc_setexactmis(method) |
---|
138 | end subroutine w_ptc_setexactmis |
---|
139 | |
---|
140 | subroutine w_ptc_setradiation(method) |
---|
141 | use precision_constants |
---|
142 | use madx_ptc_intstate_module |
---|
143 | implicit none |
---|
144 | integer method |
---|
145 | call ptc_setradiation(method) |
---|
146 | end subroutine w_ptc_setradiation |
---|
147 | |
---|
148 | subroutine w_ptc_settotalpath(method) |
---|
149 | use precision_constants |
---|
150 | use madx_ptc_intstate_module |
---|
151 | implicit none |
---|
152 | integer method |
---|
153 | call ptc_settotalpath(method) |
---|
154 | end subroutine w_ptc_settotalpath |
---|
155 | |
---|
156 | subroutine w_ptc_settime(method) |
---|
157 | use precision_constants |
---|
158 | use madx_ptc_intstate_module |
---|
159 | implicit none |
---|
160 | integer method |
---|
161 | call ptc_settime(method) |
---|
162 | end subroutine w_ptc_settime |
---|
163 | |
---|
164 | subroutine w_ptc_setnocavity(method) |
---|
165 | use precision_constants |
---|
166 | use madx_ptc_intstate_module |
---|
167 | implicit none |
---|
168 | integer method |
---|
169 | call ptc_setnocavity(method) |
---|
170 | end subroutine w_ptc_setnocavity |
---|
171 | |
---|
172 | subroutine w_ptc_setfringe(method) |
---|
173 | use precision_constants |
---|
174 | use madx_ptc_intstate_module |
---|
175 | implicit none |
---|
176 | integer method |
---|
177 | call ptc_setfringe(method) |
---|
178 | end subroutine w_ptc_setfringe |
---|
179 | |
---|
180 | subroutine w_ptc_end() |
---|
181 | use precision_constants |
---|
182 | use madx_ptc_module |
---|
183 | implicit none |
---|
184 | call ptc_end() |
---|
185 | end subroutine w_ptc_end |
---|
186 | |
---|
187 | subroutine w_ptc_getnfieldcomp(fibreidx,ncomp,nval) |
---|
188 | use madx_ptc_module |
---|
189 | implicit none |
---|
190 | real(kind(1d0)) nval |
---|
191 | integer fibreidx |
---|
192 | integer ncomp |
---|
193 | call ptc_getnfieldcomp(fibreidx,ncomp,nval) |
---|
194 | end subroutine w_ptc_getnfieldcomp |
---|
195 | |
---|
196 | subroutine w_ptc_getsfieldcomp(fibreidx,ncomp,nval) |
---|
197 | use madx_ptc_module |
---|
198 | implicit none |
---|
199 | real(kind(1d0)) nval |
---|
200 | integer fibreidx |
---|
201 | integer ncomp |
---|
202 | call ptc_getsfieldcomp(fibreidx,ncomp,nval) |
---|
203 | end subroutine w_ptc_getsfieldcomp |
---|
204 | |
---|
205 | subroutine w_ptc_setfieldcomp(fibreidx) |
---|
206 | use madx_ptc_module |
---|
207 | implicit none |
---|
208 | integer fibreidx |
---|
209 | call ptc_setfieldcomp(fibreidx) |
---|
210 | end subroutine w_ptc_setfieldcomp |
---|
211 | |
---|
212 | subroutine w_ptc_setknobvalue(fibre) |
---|
213 | use madx_ptc_knobs_module |
---|
214 | implicit none |
---|
215 | integer fibre(*) |
---|
216 | call setknobvalue(fibre) |
---|
217 | end subroutine w_ptc_setknobvalue |
---|
218 | |
---|
219 | subroutine w_ptc_refreshtables() |
---|
220 | use madx_ptc_knobs_module |
---|
221 | implicit none |
---|
222 | call filltables() |
---|
223 | end subroutine w_ptc_refreshtables |
---|
224 | |
---|
225 | subroutine w_ptc_addknob(fibre) |
---|
226 | use madx_ptc_knobs_module |
---|
227 | implicit none |
---|
228 | integer fibre(*) |
---|
229 | call addknob(fibre) |
---|
230 | end subroutine w_ptc_addknob |
---|
231 | |
---|
232 | subroutine w_ptc_addknob_i(paramn) |
---|
233 | use madx_ptc_knobs_module |
---|
234 | implicit none |
---|
235 | integer paramn(*) |
---|
236 | call addknobi(paramn) |
---|
237 | end subroutine w_ptc_addknob_i |
---|
238 | |
---|
239 | subroutine w_ptc_addmoment(x,px,y,py,t,dp,tableIA, columnIA, parametric ) |
---|
240 | use madx_ptc_distrib_module |
---|
241 | implicit none |
---|
242 | integer :: x,px,y,py,dp,t |
---|
243 | integer :: columnIA(*) |
---|
244 | integer :: tableIA(*) |
---|
245 | integer :: parametric |
---|
246 | call addmoment(x,px,y,py,t,dp,tableIA, columnIA, parametric ) |
---|
247 | end subroutine w_ptc_addmoment |
---|
248 | |
---|
249 | subroutine w_ptc_writeparresults(filename) |
---|
250 | use madx_ptc_knobs_module |
---|
251 | implicit none |
---|
252 | integer filename(*) |
---|
253 | call writeparresults(filename) |
---|
254 | end subroutine w_ptc_writeparresults |
---|
255 | |
---|
256 | subroutine w_ptc_printframes(filename) |
---|
257 | use pointer_lattice |
---|
258 | implicit none |
---|
259 | integer filename(*) |
---|
260 | call printframes(filename) |
---|
261 | end subroutine w_ptc_printframes |
---|
262 | |
---|
263 | subroutine w_ptc_printlayout_rootm(filename) |
---|
264 | use madx_ptc_eplacement_module |
---|
265 | implicit none |
---|
266 | integer filename(*) |
---|
267 | call printlayout_rootm(filename) |
---|
268 | end subroutine w_ptc_printlayout_rootm |
---|
269 | |
---|
270 | subroutine w_ptc_eplacement(elementidx,rf) |
---|
271 | use madx_ptc_eplacement_module |
---|
272 | implicit none |
---|
273 | integer elementidx |
---|
274 | integer rf |
---|
275 | call place_element(elementidx,rf) |
---|
276 | end subroutine w_ptc_eplacement |
---|
277 | |
---|
278 | subroutine w_ptc_addpush(tabname, colname, polinomial, monomial) |
---|
279 | use madx_ptc_knobs_module |
---|
280 | implicit none |
---|
281 | integer tabname(*) |
---|
282 | integer colname(*) |
---|
283 | integer polinomial |
---|
284 | integer monomial(*) |
---|
285 | call addpush(tabname, colname, polinomial, monomial) |
---|
286 | end subroutine w_ptc_addpush |
---|
287 | |
---|
288 | subroutine w_ptc_script(scriptname) |
---|
289 | use madx_ptc_script_module |
---|
290 | implicit none |
---|
291 | integer scriptname(*) |
---|
292 | call execscript(scriptname) |
---|
293 | end subroutine w_ptc_script |
---|
294 | |
---|
295 | subroutine w_ptc_open_gino(scriptname) |
---|
296 | use madx_ptc_script_module |
---|
297 | implicit none |
---|
298 | integer scriptname(*) |
---|
299 | call execginoscript(scriptname) |
---|
300 | end subroutine w_ptc_open_gino |
---|