Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zdcLG
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chad Lantz
zdcLG
Commits
760ba0ed
Commit
760ba0ed
authored
5 years ago
by
Chad Lantz
Browse files
Options
Downloads
Patches
Plain Diff
Added looping
parent
c915c9d9
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+2
-0
2 additions, 0 deletions
CMakeLists.txt
loopX.mac
+1
-0
1 addition, 0 deletions
loopX.mac
loopY.mac
+1
-0
1 addition, 0 deletions
loopY.mac
run1.mac
+8
-7
8 additions, 7 deletions
run1.mac
with
12 additions
and
7 deletions
CMakeLists.txt
+
2
−
0
View file @
760ba0ed
...
...
@@ -46,6 +46,8 @@ set(OpNovice_SCRIPTS
gui.mac
vis.mac
run1.mac
loopX.mac
loopY.mac
)
foreach
(
_script
${
OpNovice_SCRIPTS
}
)
...
...
This diff is collapsed.
Click to expand it.
loopX.mac
0 → 100644
+
1
−
0
View file @
760ba0ed
/control/loop loopY.mac x -5 5 0.5
This diff is collapsed.
Click to expand it.
loopY.mac
0 → 100644
+
1
−
0
View file @
760ba0ed
/control/loop run1.mac y -8 8 0.5
This diff is collapsed.
Click to expand it.
run1.mac
+
8
−
7
View file @
760ba0ed
...
...
@@ -16,16 +16,16 @@
/gps/particle opticalphoton
# the beam energy is in gaussian profile
#
/gps/ene/type Gauss
#
/gps/ene/mono
150 G
eV
#
/gps/ene/sigma 1
M
eV
/gps/ene/type Gauss
/gps/ene/mono
3.4
eV
/gps/ene/sigma 1 eV
# General particle source
/gps/pos/type Beam
/gps/pos/shape Circle
/gps/pos/centre
0. 0.
0.
m
m
/gps/pos/centre
{x} {y}
0.
c
m
/gps/pos/radius 1.5 mm
/gps/pos/sigma_r 2
.
mm
/gps/pos/sigma_r
0.00
2 mm
#
# the incident surface is in the x-y plane
...
...
@@ -38,7 +38,8 @@
/gps/ang/rot2 1 0 0
/gps/ang/type beam1d
# the beam angular dispersion
/gps/ang/sigma_r 30.00 deg
# N.A. is 0.22 so acceptance cone is ~25.4 degrees
/gps/ang/sigma_r 25.40 deg
# 1.0milliradians = 0.057 deg
#
...
...
@@ -48,6 +49,6 @@
##############################################################
##############################################################
# number of events
/run/beamOn
2
/run/beamOn
5
##############################################################
##############################################################
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment