source: PSPA/madxPSPA/src/wrap.f90 @ 476

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

import madx-5.01.00

File size: 7.0 KB
Line 
1subroutine w_ptc_create_universe()
2  use madx_ptc_module
3  implicit none
4  call ptc_create_universe()
5end subroutine w_ptc_create_universe
6
7subroutine w_ptc_create_layout()
8  use madx_ptc_module
9  implicit none
10  call ptc_create_layout()
11end subroutine w_ptc_create_layout
12
13subroutine w_ptc_export_xml(filename)
14  use ptc_export_xml_module
15  implicit none
16  integer filename(*)
17  call ptc_export_xml(filename)
18end subroutine w_ptc_export_xml
19
20subroutine w_ptc_move_to_layout()
21  use madx_ptc_module
22  implicit none
23  call ptc_move_to_layout()
24end subroutine w_ptc_move_to_layout
25
26subroutine w_ptc_read_errors()
27  use madx_ptc_module
28  implicit none
29  call ptc_read_errors()
30end subroutine w_ptc_read_errors
31
32subroutine w_ptc_refresh_k()
33  use madx_ptc_module
34  implicit none
35  call ptc_refresh_k()
36end subroutine w_ptc_refresh_k
37
38subroutine w_ptc_input()
39  use madx_ptc_module
40  implicit none
41  call ptc_input()
42end subroutine w_ptc_input
43
44subroutine w_ptc_align()
45  use madx_ptc_module
46  implicit none
47  call ptc_align()
48end subroutine w_ptc_align
49
50subroutine 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)
56end subroutine w_ptc_twiss
57
58subroutine w_ptc_normal()
59  use madx_ptc_normal_module
60  implicit none
61  call ptc_normal()
62end subroutine w_ptc_normal
63
64subroutine w_ptc_moments(no)
65  use madx_ptc_distrib_module
66  implicit none
67  integer no
68  call ptc_moments(no)
69end subroutine w_ptc_moments
70
71subroutine w_ptc_initmoments()
72  use madx_ptc_distrib_module
73  implicit none
74  call initmoments()
75end subroutine w_ptc_initmoments
76
77subroutine w_ptc_dumpmaps()
78  use madx_ptc_module
79  implicit none
80  call ptc_dumpmaps()
81end subroutine w_ptc_dumpmaps
82
83subroutine 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)
89end subroutine w_ptc_track
90
91subroutine w_ptc_trackline(max_obs)
92  use madx_ptc_trackline_module
93  implicit none
94  integer max_obs
95  call ptc_trackline(max_obs)
96end subroutine w_ptc_trackline
97
98subroutine 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)
103end subroutine w_ptc_track_everystep
104
105subroutine w_ptc_setdebuglevel(level)
106  use madx_ptc_intstate_module
107  implicit none
108  integer level
109  call ptc_setdebuglevel(level)
110end subroutine w_ptc_setdebuglevel
111
112subroutine w_ptc_enforce6D(level)
113  use madx_ptc_intstate_module
114  implicit none
115  integer level
116  call setenforce6D(level)
117end subroutine w_ptc_enforce6D
118
119subroutine w_ptc_putbeambeam()
120  use madx_ptc_module
121  implicit none
122  call putbeambeam()
123end subroutine w_ptc_putbeambeam
124
125subroutine w_ptc_setaccel_method(method)
126  use madx_ptc_intstate_module
127  implicit none
128  integer method
129  call ptc_setaccel_method(method)
130end subroutine w_ptc_setaccel_method
131
132subroutine 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)
138end subroutine w_ptc_setexactmis
139
140subroutine 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)
146end subroutine w_ptc_setradiation
147
148subroutine 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)
154end subroutine w_ptc_settotalpath
155
156subroutine 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)
162end subroutine w_ptc_settime
163
164subroutine 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)
170end subroutine w_ptc_setnocavity
171
172subroutine 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)
178end subroutine w_ptc_setfringe
179
180subroutine w_ptc_end()
181  use precision_constants
182  use madx_ptc_module
183  implicit none
184  call ptc_end()
185end subroutine w_ptc_end
186
187subroutine 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)
194end subroutine w_ptc_getnfieldcomp
195
196subroutine 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)
203end subroutine w_ptc_getsfieldcomp
204
205subroutine w_ptc_setfieldcomp(fibreidx)
206  use madx_ptc_module
207  implicit none
208  integer fibreidx
209  call ptc_setfieldcomp(fibreidx)
210end subroutine w_ptc_setfieldcomp
211
212subroutine w_ptc_setknobvalue(fibre)
213  use madx_ptc_knobs_module
214  implicit none
215  integer fibre(*)
216  call setknobvalue(fibre)
217end subroutine w_ptc_setknobvalue
218
219subroutine w_ptc_refreshtables()
220  use madx_ptc_knobs_module
221  implicit none
222  call filltables()
223end subroutine w_ptc_refreshtables
224
225subroutine w_ptc_addknob(fibre)
226  use madx_ptc_knobs_module
227  implicit none
228  integer fibre(*)
229  call addknob(fibre)
230end subroutine w_ptc_addknob
231
232subroutine w_ptc_addknob_i(paramn)
233  use madx_ptc_knobs_module
234  implicit none
235  integer paramn(*)
236  call addknobi(paramn)
237end subroutine w_ptc_addknob_i
238
239subroutine 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 )
247end subroutine w_ptc_addmoment
248
249subroutine w_ptc_writeparresults(filename)
250  use madx_ptc_knobs_module
251  implicit none
252  integer filename(*)
253  call writeparresults(filename)
254end subroutine w_ptc_writeparresults
255
256subroutine w_ptc_printframes(filename)
257  use pointer_lattice
258  implicit none
259  integer filename(*)
260  call printframes(filename)
261end subroutine w_ptc_printframes
262
263subroutine w_ptc_printlayout_rootm(filename)
264  use madx_ptc_eplacement_module
265  implicit none
266  integer filename(*)
267  call printlayout_rootm(filename)
268end subroutine w_ptc_printlayout_rootm
269
270subroutine 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)
276end subroutine w_ptc_eplacement
277
278subroutine 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)
286end subroutine w_ptc_addpush
287
288subroutine w_ptc_script(scriptname)
289  use madx_ptc_script_module
290  implicit none
291  integer scriptname(*)
292  call execscript(scriptname)
293end subroutine w_ptc_script
294
295subroutine w_ptc_open_gino(scriptname)
296  use madx_ptc_script_module
297  implicit none
298  integer scriptname(*)
299  call execginoscript(scriptname)
300end subroutine w_ptc_open_gino
Note: See TracBrowser for help on using the repository browser.