Build multipoles with zero-length as thin multipole

Issue #305 resolved
Robin Tesse created an issue

Hello,

I would like to create a hierarchy with multipole like this:

mco: multipole, l=0_mm;_
_mco1: mco, l=50_cm, knl={0,0,0 };
mco2: mco, l=0*mm, knl={-10,0,0 };

But when using the line, I have a warning in BDSIM:

Looking into the code, it comes from

BDSAcceleratorComponent* BDSComponentFactory::CreateMultipole() in BDSComponentFactory.cc
In order to preserve the hierarchy, the return could be replaced by return BDSComponentFactory::CreateThinMultipole()

Comments (1)

  1. Log in to comment