Skip to Content.
Sympa Menu

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

opal AT

Subject: The OPAL Discussion Forum

List archive

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

Chronological Thread 
  • From: Anastasiya Bershanska <nastya AT>
  • To: "Frey Matthias (PSI)" <matthias.frey AT>
  • Cc: Anastasiya Bershanska <nastya AT>, "opal AT" <opal AT>
  • Subject: Re: [Opal] [OPAL] MatchedGauss doesn't work
  • Date: Wed, 1 Aug 2018 17:52:38 +0000
  • Accept-language: en-US

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,

Attachment: IsoDAR.o12182317
Description: IsoDAR.o12182317

Archive powered by MHonArc 2.6.19.

Top of Page