opal AT lists.psi.ch
Subject: The OPAL Discussion Forum
List archive
- From: "Finn O'Shea" <finn.oshea AT nusano.com>
- To: opal <opal AT lists.psi.ch>
- Subject: [Opal] Octupole magnet strengths are set using the formula for Decapoles
- Date: Tue, 11 May 2021 10:32:23 -0700
Hi All,
Finn
In the course of trying to get Opal to agree with another code, I discovered that the normal component of the octupole strength is set using the formula for decapoles. Line 114 of Multipole.cpp shows that the OCTUPOLE case is combined with the DECAPOLE case:
case OCTUPOLE: case DECAPOLE: NormalComponents[n - 1] = (v + vError) / 24; NormalComponentErrors[n - 1] = vError / 24; break;
This can be fixed with the following changes:
case OCTUPOLE: NormalComponents[n - 1] = (v + vError) / 6; NormalComponentErrors[n - 1] = vError / 6; break; case DECAPOLE: NormalComponents[n - 1] = (v + vError) / 24; NormalComponentErrors[n - 1] = vError / 24; break;
--
Senior Scientist
Nusano, Inc
28575 Livingston Ave
Valencia, CA 91355
Office: 1 (424) 293-3174
-
[Opal] Octupole magnet strengths are set using the formula for Decapoles,
Finn O'Shea, 05/11/2021
- Re: [Opal] Octupole magnet strengths are set using the formula for Decapoles, Adelmann Andreas (PSI), 05/11/2021
Archive powered by MHonArc 2.6.19.