opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: "Duffy, Leanne D" <ldd AT lanl.gov>
- To: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
- Subject: [Opal] Problem with Distribution List
- Date: Wed, 11 Sep 2013 16:44:58 +0000
- Accept-language: en-US
- List-archive: <https://lists.web.psi.ch/pipermail/opal/>
- List-id: The OPAL Discussion Forum <opal.lists.psi.ch>
I am using OPAL v1.1.9 and trying to run a distribution consisting of several
overlapping Gaussians. Section 11.8 of the manual indicates this should be
possible by replacing DISTRIBUTION = DIST1 with something like DISTRIBUTION =
{DIST1, DIST2, DIST3} under the RUN command. When I tried using this, I got
the following error message:
OPAL {+0}> *** Parse error detected by function "Expressions::parseString()"
OPAL {+0}> *** in line 1047 of file "laserrip.in" before token "{":
OPAL {+0}>
RUN,METHOD="PARALLEL-T",BEAM=BEAM_PARTICLES,FIELDSOLVER=FS_SC,DISTRIBUTION={DIST1,DIST2,DIST3,DIST4,DIST5,DIST6,DIST7,DIST8,DIST9,DIST10,DIST11,DIST12,DIST13,DIST14};
OPAL {+0}> String value expected.
OPAL {+0}>
OPAL {+0}> *
**********************************************************************************
OPAL {+0}> Selected Tracking Method == PARALLEL-T, NEW TRACK
OPAL {+0}> *
**********************************************************************************
OPAL {+0}> ********************** DISTRIBUTION **********************
OPAL {+0}>
OPAL {+0}> Number of particles: 10000000
OPAL {+0}>
OPAL {+0}> Distribution type: GAUSS
OPAL {+0}>
OPAL {+0}> SIGMAX = 0 [m]
OPAL {+0}> SIGMAY = 0 [m]
OPAL {+0}> SIGMAZ = 0 [m]
OPAL {+0}> SIGMAPX = 0 [Beta Gamma]
OPAL {+0}> SIGMAPY = 0 [Beta Gamma]
OPAL {+0}> SIGMAPZ = 0 [Beta Gamma]
OPAL {+0}> CORRX = 0
OPAL {+0}> CORRY = 0
OPAL {+0}> CORRZ = 0
OPAL {+0}> R61 = 0
OPAL {+0}> R62 = 0
OPAL {+0}> R51 = 0
OPAL {+0}> R52 = 0
OPAL {+0}> CUTOFFX = 0 [units of SIGMAX]
OPAL {+0}> CUTOFFY = 0 [units of SIGMAY]
OPAL {+0}> CUTOFFZ = 3 [units of SIGMAZ]
OPAL {+0}> CUTOFFPX = 0 [units of SIGMAPX]
OPAL {+0}> CUTOFFPY = 0 [units of SIGMAPY]
OPAL {+0}> CUTOFFPZ = 0 [units of SIGMAPY]
OPAL {+0}>
OPAL {+0}> Distribution is injected.
OPAL {+0}>
OPAL {+0}> **********************************************************
The only change I have made is replacing a distribution with the list of
distributions. Is this actually implemented? If so, is it implement
in versions later than 1.1.9? Have I misinterpreted how to use this function?
Thanks,
Leanne
--------------------------------
Leanne Duffy
AOT-HPE, Los Alamos National Laboratory
ldd AT lanl.gov
- [Opal] Problem with Distribution List, Duffy, Leanne D, 09/11/2013
- [Opal] RE: Problem with Distribution List, Russell, Steve, 09/12/2013
Archive powered by MHonArc 2.6.19.