forked from radiasoft/rshellweg
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMainUnit.dfm
More file actions
467 lines (467 loc) · 9.8 KB
/
MainUnit.dfm
File metadata and controls
467 lines (467 loc) · 9.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
object MainForm: TMainForm
Left = 0
Top = 0
Caption = 'Hellweg 2D'
ClientHeight = 724
ClientWidth = 611
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -14
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
Position = poDesigned
OnCanResize = FormCanResize
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 120
TextHeight = 17
object InputGroup: TGroupBox
Left = 0
Top = 0
Width = 611
Height = 305
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alTop
Caption = 'Input Data'
TabOrder = 1
object Label_P0: TLabel
Left = 21
Top = 21
Width = 142
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Input Power = ??? MW'
end
object Label_I0: TLabel
Left = 21
Top = 46
Width = 135
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Input Current = ??? A'
end
object Label_F0: TLabel
Left = 21
Top = 71
Width = 197
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Operating Frequency = ??? MHz'
end
object Label_Np: TLabel
Left = 277
Top = 21
Width = 157
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Number of Particles = ???'
end
object Label_B0: TLabel
Left = 21
Top = 120
Width = 134
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Solenoid Field = ??? Tl'
end
object Label_Length: TLabel
Left = 21
Top = 145
Width = 153
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Solenoid Length = ??? m'
end
object Label_Position: TLabel
Left = 21
Top = 170
Width = 157
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Solenoid Position = ??? m'
end
object Label_W0: TLabel
Left = 277
Top = 46
Width = 166
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Average Energy = ??? MeV'
end
object Label_Phi0: TLabel
Left = 277
Top = 71
Width = 156
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Average Phase = ??? deg'
end
object Label_dW: TLabel
Left = 481
Top = 46
Width = 90
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'dW = ??? MeV'
end
object Label_dPhi: TLabel
Left = 480
Top = 71
Width = 92
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'dPhi = ??? deg'
end
object Label1: TLabel
Left = 277
Top = 95
Width = 178
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Courant-Sneider Parameters:'
end
object Label_Alpha: TLabel
Left = 277
Top = 120
Width = 72
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Alpha = ???'
end
object Label_Betta: TLabel
Left = 277
Top = 145
Width = 111
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Betta=??? cm/rad'
end
object Label_Emittance: TLabel
Left = 277
Top = 170
Width = 151
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Emittance = ??? cm*rad'
end
object Label2: TLabel
Left = 213
Top = 195
Width = 40
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Notes:'
end
object Label_Coulomb: TLabel
Left = 22
Top = 220
Width = 120
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Coulmb Charge ???'
end
object Label_Wave: TLabel
Left = 277
Top = 220
Width = 96
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Wave Type ???'
end
object Label_WDist: TLabel
Left = 21
Top = 242
Width = 147
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Energy Distribution: ???'
end
object Label_PhiDist: TLabel
Left = 277
Top = 242
Width = 139
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Phase Distribution: ???'
end
object Label_Cells: TLabel
Left = 22
Top = 277
Width = 111
Height = 17
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = '??? Cells Detected'
end
object ViewGeometryButton: TButton
Left = 269
Top = 267
Width = 109
Height = 32
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'View Geometry'
TabOrder = 0
OnClick = ViewGeometryButtonClick
end
object ViewBeamButton: TButton
Left = 386
Top = 267
Width = 98
Height = 32
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'View Beam'
TabOrder = 1
OnClick = ViewBeamButtonClick
end
end
object SolverGroup: TGroupBox
Left = 0
Top = 305
Width = 611
Height = 83
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alTop
Caption = 'Solver'
TabOrder = 2
end
object ResultsGroup: TGroupBox
Left = 0
Top = 451
Width = 611
Height = 273
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alClient
Caption = 'Results'
TabOrder = 3
object MemoPanel: TPanel
Left = 2
Top = 19
Width = 468
Height = 252
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alClient
TabOrder = 0
object ResultsMemo: TMemo
Left = 3
Top = 0
Width = 459
Height = 251
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Lines.Strings = (
'ResultsMemo')
ScrollBars = ssVertical
TabOrder = 0
Visible = False
end
end
object ActPanel: TPanel
Left = 470
Top = 19
Width = 139
Height = 252
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alRight
TabOrder = 1
end
object ViewButton: TButton
Left = 500
Top = 21
Width = 98
Height = 33
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'View Results'
Enabled = False
TabOrder = 2
OnClick = ViewButtonClick
end
object LoadResultsButton: TButton
Left = 500
Top = 61
Width = 98
Height = 33
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Load Results'
TabOrder = 3
OnClick = LoadResultsButtonClick
end
object OptButton: TButton
Left = 500
Top = 115
Width = 98
Height = 33
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Optimizer'
TabOrder = 4
OnClick = OptButtonClick
end
end
object ControlGroup: TGroupBox
Left = 0
Top = 388
Width = 611
Height = 63
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Align = alTop
Caption = 'Controls'
TabOrder = 0
object SelectFileButton: TButton
Left = 0
Top = 20
Width = 98
Height = 32
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Select File'
TabOrder = 1
OnClick = SelectFileButtonClick
end
object ExitButton: TButton
Left = 500
Top = 22
Width = 98
Height = 33
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Exit'
TabOrder = 2
OnClick = ExitButtonClick
end
object AbortButton: TButton
Left = 301
Top = 22
Width = 98
Height = 33
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Abort'
TabOrder = 3
OnClick = AbortButtonClick
end
object SolveButton: TButton
Left = 195
Top = 22
Width = 98
Height = 33
Margins.Left = 4
Margins.Top = 4
Margins.Right = 4
Margins.Bottom = 4
Caption = 'Solve'
TabOrder = 0
OnClick = SolveButtonClick
end
end
object InputDialog: TOpenDialog
FileName =
'D:\Storage\Laptop Backup\My Work\00 - PRG\Hellweg 2.5\Debug\INPU' +
'T.txt'
Filter = 'Text Files|*.txt|All Files|*.*'
Left = 440
end
end