Skip to Content.
Sympa Menu

opal - AW: [Opal] [OPAL] MatchedGauss doesn't work

opal AT

Subject: The OPAL Discussion Forum

List archive

AW: [Opal] [OPAL] MatchedGauss doesn't work

Chronological Thread 
  • From: "Frey Matthias (PSI)" <matthias.frey AT>
  • To: Anastasiya Bershanska <nastya AT>
  • Cc: "opal AT" <opal AT>
  • Subject: AW: [Opal] [OPAL] MatchedGauss doesn't work
  • Date: Thu, 2 Aug 2018 06:31:16 +0000
  • Accept-language: de-DE, de-CH, en-US
  • Authentication-results: localhost; dmarc=skipped

Hi Anastasiya

The closed orbit finder should print out some information. In the "data" directory should also be some info. However they are in "Gordon units".

You might send me your input + fieldmap such that I can test. I'm not aware of any bugs.


Von: Anastasiya Bershanska [nastya AT]
Gesendet: Mittwoch, 1. August 2018 19:52
An: Frey Matthias (PSI)
Cc: Anastasiya Bershanska; opal AT
Betreff: Re: [Opal] [OPAL] MatchedGauss doesn't work

Hello Matthias,

I’ve added FMLOWE and FMHIGHE. However, MATCHEDGAUSS still doesn’t converge even though I have a distribution that can be accelerated in the same cyclotron with the same initial conditions. Is it possible there’s another bug in the code (like negative initial momentum) or that matched distribution is initialized with non-zero initial phase?

Thank you,

On Aug 1, 2018, at 4:29 AM, Frey Matthias (PSI) <matthias.frey AT> wrote:

Hi Anastasiya

You don't specify "FMLOWE" and "FMHIGHE" in the Cyclotron definition. Those are the minimum and maximum energy of the cyclotron in MeV. This can cause the problem. Yes, it's a bug in the sense that it doesn't throw an error when these aren't specified. I will change that.

But try with specifying those.


Von: opal-request AT [opal-request AT]" im Auftrag von "Anastasiya Bershanska [nastya AT]
Gesendet: Mittwoch, 1. August 2018 00:32
An: opal AT
Betreff: [Opal] [OPAL] MatchedGauss doesn't work


I’m trying to generate a matched distribution for a cyclotron and get error “didn't find any matched distribution” in Distribution::CreateMatchedGaussDistribution. A distribution that works should exist (because it’s been calculated before for different harmonic). Is there possibly a bug in the code?

Thank you,

Archive powered by MHonArc 2.6.19.

Top of Page