Skip to Content.
Sympa Menu

opal - [Opal] Using LINES with ORIGIN

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] Using LINES with ORIGIN


Chronological Thread 
  • From: Simon Friederich <sifriede AT uni-mainz.de>
  • To: "opal AT lists.psi.ch" <opal AT lists.psi.ch>
  • Subject: [Opal] Using LINES with ORIGIN
  • Date: Tue, 21 Jul 2020 11:15:27 +0200
  • Authentication-results: localhost; iprev=pass (ironport-1.zdv.net) smtp.remote-ip=134.93.178.241; spf=pass smtp.mailfrom=uni-mainz.de; dkim=pass header.d=uni-mainz.de header.s=20190702 header.a=rsa-sha256; dmarc=pass header.from=uni-mainz.de
  • Ironport-phdr: 9a23:ET70MhCIAK1z44SRGZ3/UyQJP3N1i/DPJgcQr6AfoPdwSPXzoMbcNUDSrc9gkEXOFd2Cra4d1ayK7eu4CSQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagYL5+Nhq7oATeusUKgoZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9RugqxbvRyhoB9xzYDab46aKPV+f7jQcskGSWdbRMtdSyJMD4G6YoASD+QBJ+FYr4zlqlUTrBu+AA6sBOXywTFInH/23LM13Pk/HgHc3QwvA9IOu2nTodXuNacSX/q1zKjWwjrecfxbwir96I7Jchw4pPGDR7NwcczQyEU1CgzKkEydpIr4NDyayuoDqXKU7/Z8Ve2xkW4nrRl8rDasy8ouhIfFmoMYx1/Y+SlnwIs5ON21RUx0b9O6EJZcqi+XO5ZrTs4+TG9muDs3x6MGt5O7cyUG1pcqywDfZfGBboOG4QrjWf6fIThli39pZreyihm8/ES+xODxU8q530pXoSVYl9TBt2wB2h3W58WDUPRx4kms1DOL2g/I5OFEL0U5laTFJJI/2bE9k4EcvljfESPrgEn7iK+bel8g9+S18ejrfKjqq56GO4J6iQzzNLkllNalDuQiKAcOWnCW+eG71LL+40L0WK5KjvgqkqnBt5DaONgbqra5AwBL1oYj7A6yACmp0dgFk3QKI09JdAuCj4jyO1zOIOn0Aem/jli2kTZk2u7GMqfvDZXLL3jPibDvcqx8605ayQs/195R6Z1MBrEAJvL8RFPxucTWDhAkPAG43ePqBdpz248AV2+CB6yUP7/PvlCV4+8iIvWAaY4QtTv5Mfcp+/DjgHo9lFAGc6mp054aaH6mEfh4OEqUZGHjjcsdHmsXpgY+SfbliFyGUT5dfXayWKc86ykgCIKnA4fDXIGtj6Kc0yilBZBWe2ZGClGVHXftbYqEWvEMaSOILsB8jDMITaKhRJM51RGyqA/6zKJqLu3M+iICsZLuz9x15+zIlREu7jx4Fdyd03qMT21ugmwIR2x+4Kcq60tlw1Or1aljn+ceDcdSofhJGE9uMobVy8R+CsvuQUTZZdbPQ1bwEfu8BjRkddM0xNlGTVx8FtmvlBHI32L+GL4bjb2GCJEc76Tdmn34JsBvjXrLgvpyx2I6S9dCYDX1zpV08BLeUtbE
  • Ironport-sdr: yuTF63Ah1mgXhn8PPs4tCJEvSx7Tnc9p8lRvbrpv3qX48UE6fiURDswW/oBeeErc/uJ0Ma/ZGC 2k2sVJX8rsApGuM/Faa5HT28+WI6PCGhXb8YfGmJe7b0TQUVk13SuDVw/KLaizhDIwrYhtcaZY 9FS4j0sSoxhum9spQg87Cipyd2Z06H5pEaKN0+fXKqLUIfzcI3PFSrOk/WqOCGcg0f7rhK4JWc 3SzSwOzBNUZcKR7sjfgDI7FSn7TrZwaMmTRirB8r1gkjcjel3S9B2vlGMT3ltsL+yOBb2Xj3O2 Pmw=
  • Organization: Institut für Kernphysik, JGU Mainz

Dear OPAL-Team,

I'd like to use the LINES together with ORIGIN, because it is a really handy way of dealing with the positions of multiple objects, e.g.:

rf1: RFCAVITY, ELEMEDGE=0,...;
rf2: RFCAVITY, ELEMEDGE=0.5,...;
rfline1: LINE =(rf1, rf2), ORIGIN={0,0,1};

Which works perfectly fine, I have rf1 @ Z=1m and rf2 @ 1.5m in the global coordinate system.

Now I have to rotate rf2 by 180° around the y-axis, so I need to use Z instead of ELEMEDGE in order to access THETA. But how can I now use "ORIGIN" as it does only work for the ELEMEDGE-case, right?

rf1: RFCAVITY, Z=0,...;
rf2: RFCAVITY, Z=0.5, THETA=PI, ...;
rfline1: LINE =(rf1, rf2), Z=1; // Here is the "problematic" part, ORIGIN={0,0,1} has no effect

I thought of using ORIENTATION, but I did not quite get the correct syntax for the rotation that I want.

Thank you very much in advance.
Best regards
Simon


P.S.: I think there is a typo in the manual


-- 
-----------------------------------
Dr. Simon Friederich
Helmholtz-Institut Mainz
Kollaboration B/ACID
Johannes Gutenberg-Universität Mainz
Staudingerweg 18
55128 Mainz, Deutschland

Tel.: +49 (0)6131 39-23160
E-Mail: sifriede AT uni-mainz.de
----------------------------------------



Archive powered by MHonArc 2.6.19.

Top of Page