-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainUnit.dfm
624 lines (624 loc) · 15.5 KB
/
MainUnit.dfm
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
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
object MainForm: TMainForm
Left = 114
Top = 315
BorderStyle = bsSingle
Caption = 'Monte Carlo Molecul Simulator'
ClientHeight = 341
ClientWidth = 690
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
KeyPreview = True
OldCreateOrder = False
Position = poDesktopCenter
OnCreate = FormCreate
OnDestroy = FormDestroy
PixelsPerInch = 96
TextHeight = 13
object ImagePanel: TPanel
Left = 10
Top = 10
Width = 321
Height = 321
Hint = 'These are the atoms'
BevelOuter = bvLowered
Color = clWhite
ParentShowHint = False
ShowHint = True
TabOrder = 0
object AtomView: TImage
Left = 0
Top = 0
Width = 321
Height = 321
ParentShowHint = False
ShowHint = False
end
end
object StartButton: TButton
Left = 340
Top = 300
Width = 71
Height = 31
Hint = 'Start/Stop simulation'
Caption = 'Go'
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnClick = StartButtonClick
end
object ResetButton: TButton
Left = 500
Top = 300
Width = 71
Height = 31
Hint = 'Reset the position of atoms'
Caption = 'Reset'
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnClick = ResetButtonClick
end
object QuitButton: TButton
Left = 610
Top = 300
Width = 71
Height = 31
Hint = 'Close this application'
Cancel = True
Caption = 'Quit'
ModalResult = 2
ParentShowHint = False
ShowHint = True
TabOrder = 3
OnClick = QuitButtonClick
end
object OneFrameButton: TButton
Left = 420
Top = 300
Width = 71
Height = 31
Hint = 'Simulate one frame'
Caption = 'One Frame'
ParentShowHint = False
ShowHint = True
TabOrder = 4
OnClick = OneFrameButtonClick
end
object AdditionalPages: TPageControl
Left = 340
Top = 10
Width = 340
Height = 281
ActivePage = ParametersTab
DragKind = dkDock
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
TabOrder = 5
OnChange = AdditionalPagesChange
object ParametersTab: TTabSheet
Caption = 'Parameters'
object PeriodicBorderSwitch: TSpeedButton
Left = 230
Top = 210
Width = 91
Height = 31
Hint = 'Set periodic boundary conditions'
GroupIndex = 1
Caption = 'Periodic'
ParentShowHint = False
ShowHint = True
OnClick = PeriodicBorderSwitchClick
end
object FixedBorderSwitch: TSpeedButton
Left = 130
Top = 210
Width = 91
Height = 31
Hint = 'Set fixed boundary conditions'
GroupIndex = 1
Down = True
Caption = 'Fixed'
ParentShowHint = False
ShowHint = True
OnClick = FixedBorderSwitchClick
end
object Potential_ELabel: TPanel
Left = 0
Top = 30
Width = 121
Height = 21
BevelOuter = bvNone
Caption = 'Potential depth, K'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
end
object Potential_DLabel: TPanel
Left = 0
Top = 60
Width = 121
Height = 21
BevelOuter = bvNone
Caption = 'Potential minimum'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 1
end
object Potential_EEdit: TPanel
Left = 130
Top = 30
Width = 121
Height = 21
Hint = 'The depth of the potential hole, K'
Alignment = taLeftJustify
BevelInner = bvLowered
BevelOuter = bvLowered
Color = clWindow
Font.Charset = DEFAULT_CHARSET
Font.Color = clGray
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 2
end
object Potential_DEdit: TPanel
Left = 130
Top = 60
Width = 121
Height = 21
Hint = 'The distance to the minimum of the potential'
Alignment = taLeftJustify
BevelInner = bvLowered
BevelOuter = bvLowered
Color = clWindow
Font.Charset = DEFAULT_CHARSET
Font.Color = clGray
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
object CellSize_2ndLabel: TPanel
Left = 210
Top = 90
Width = 31
Height = 21
BevelOuter = bvNone
Caption = 'by'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
end
object CellsizeYEdit: TPanel
Left = 250
Top = 90
Width = 71
Height = 21
Hint = 'Cell height'
Alignment = taLeftJustify
BevelInner = bvLowered
BevelOuter = bvLowered
Color = clWindow
Font.Charset = DEFAULT_CHARSET
Font.Color = clGray
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 5
end
object CellsizeXEdit: TPanel
Left = 130
Top = 90
Width = 71
Height = 21
Hint = 'Cell width'
Alignment = taLeftJustify
BevelInner = bvLowered
BevelOuter = bvLowered
Color = clWindow
Font.Charset = DEFAULT_CHARSET
Font.Color = clGray
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 6
end
object CellSizeLabel: TPanel
Left = 0
Top = 90
Width = 121
Height = 21
BevelOuter = bvNone
Caption = 'Cell size'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 7
end
object SPFLabel: TPanel
Left = 0
Top = 120
Width = 121
Height = 21
BevelOuter = bvNone
Caption = 'Steps per frame'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 8
end
object SPFEdit: TEdit
Left = 130
Top = 120
Width = 121
Height = 21
Hint = 'Steps per frame'
AutoSelect = False
ParentShowHint = False
ShowHint = True
TabOrder = 9
OnKeyPress = TemperatureEditKeyPress
end
object SPFApplyButton: TButton
Left = 260
Top = 120
Width = 61
Height = 21
Hint = 'Apply new steps per frame value'
Caption = 'Apply'
ParentShowHint = False
ShowHint = True
TabOrder = 10
OnClick = SPFApplyButtonClick
end
object ApplyShiftButton: TButton
Left = 260
Top = 150
Width = 61
Height = 21
Hint = 'Apply new maximum displacement distance'
Caption = 'Apply'
ParentShowHint = False
ShowHint = True
TabOrder = 11
OnClick = ApplyShiftButtonClick
end
object ShiftEdit: TEdit
Left = 130
Top = 150
Width = 121
Height = 21
Hint = 'Maximum displacement distance'
AutoSelect = False
ParentShowHint = False
ShowHint = True
TabOrder = 12
OnKeyPress = TemperatureEditKeyPress
end
object ShiftLabel: TPanel
Left = 0
Top = 150
Width = 121
Height = 21
BevelOuter = bvNone
Caption = 'Shift distance'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 13
end
object TemperatureLabel: TPanel
Left = 0
Top = 180
Width = 121
Height = 21
BevelOuter = bvNone
Caption = 'Temperature, K'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 14
end
object TemperatureEdit: TEdit
Left = 130
Top = 180
Width = 121
Height = 21
Hint = 'System temperature, K'
AutoSelect = False
ParentShowHint = False
ShowHint = True
TabOrder = 15
OnKeyPress = TemperatureEditKeyPress
end
object ApplyTemperatureButton: TButton
Left = 260
Top = 180
Width = 61
Height = 21
Hint = 'Apply new temperature value'
Caption = 'Apply'
ParentShowHint = False
ShowHint = True
TabOrder = 16
OnClick = TemperatureEditChange
end
object BoundaryLabel: TPanel
Left = 0
Top = 210
Width = 121
Height = 31
BevelOuter = bvNone
Caption = 'Boundary'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 17
end
object ParametersLabel: TPanel
Left = 0
Top = 0
Width = 319
Height = 21
BevelOuter = bvNone
Caption = 'Simulation parameters'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 18
end
object Edit1: TEdit
Left = 264
Top = 32
Width = 49
Height = 21
TabOrder = 19
Text = '100'
end
end
object StatisticsTab: TTabSheet
Caption = 'Statistics'
ImageIndex = 1
object StepsLabel: TPanel
Left = 0
Top = 10
Width = 151
Height = 21
BevelOuter = bvNone
Caption = 'Simulation steps'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
end
object StepsView: TPanel
Left = 160
Top = 10
Width = 161
Height = 21
Hint = 'Total count of simulation steps'
Alignment = taLeftJustify
BevelInner = bvLowered
BevelOuter = bvLowered
Color = clWindow
Font.Charset = ANSI_CHARSET
Font.Color = clGray
Font.Height = -11
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 1
end
object EnergyLabel: TPanel
Left = 0
Top = 40
Width = 151
Height = 21
BevelOuter = bvNone
Caption = 'Mean energy per atom, K'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 2
end
object MeanEnergyView: TPanel
Left = 160
Top = 40
Width = 161
Height = 21
Hint = 'Mean energy per atom, K'
Alignment = taLeftJustify
BevelInner = bvLowered
BevelOuter = bvLowered
Color = clWindow
Font.Charset = ANSI_CHARSET
Font.Color = clGray
Font.Height = -11
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 3
end
object MinEnergyLabel: TPanel
Left = 0
Top = 70
Width = 151
Height = 21
BevelOuter = bvNone
Caption = 'Minimal energy, K'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 4
end
object MinEnergyView: TPanel
Left = 160
Top = 70
Width = 161
Height = 21
Hint = 'Atom'#39's minimal energy, K'
Alignment = taLeftJustify
BevelInner = bvLowered
BevelOuter = bvLowered
Color = clWindow
Font.Charset = ANSI_CHARSET
Font.Color = clGray
Font.Height = -11
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 5
end
object MaxEnergyLabel: TPanel
Left = 0
Top = 100
Width = 151
Height = 21
BevelOuter = bvNone
Caption = 'Maximal energy, K'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 6
end
object MaxEnergyView: TPanel
Left = 160
Top = 100
Width = 161
Height = 21
Hint = 'Atom'#39's maximal energy, K'
Alignment = taLeftJustify
BevelInner = bvLowered
BevelOuter = bvLowered
Color = clWindow
Font.Charset = ANSI_CHARSET
Font.Color = clGray
Font.Height = -11
Font.Name = 'Courier New'
Font.Style = []
ParentFont = False
ParentShowHint = False
ShowHint = True
TabOrder = 7
end
end
object GRTab: TTabSheet
Caption = 'Radial distribution'
ImageIndex = 2
object GRPanel: TPanel
Left = 0
Top = 0
Width = 331
Height = 251
Hint = 'g(r), the radial distribution'
BevelOuter = bvLowered
Color = clWhite
ParentShowHint = False
ShowHint = True
TabOrder = 0
object GRView: TImage
Left = 0
Top = 0
Width = 331
Height = 251
HelpContext = 1
ParentShowHint = False
ShowHint = False
end
end
end
object TabSheet1: TTabSheet
Caption = 'Enerdy distribution'
ImageIndex = 3
object EnergyPanel: TPanel
Left = 0
Top = 0
Width = 331
Height = 251
Hint = 'Energy distribution across atoms'
BevelOuter = bvLowered
Color = clWhite
ParentShowHint = False
ShowHint = True
TabOrder = 0
object EnergyView: TImage
Left = 0
Top = 0
Width = 331
Height = 251
HelpContext = 1
ParentShowHint = False
ShowHint = False
end
end
end
end
end