- changed status to resolved
Build multipoles with zero-length as thin multipole
Issue #305
resolved
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)
-
reporter - Log in to comment
Merged in issue-305 (pull request #2)
Fix issue 305 - convert multipole to thin multipole
→ <<cset c3a3f4c976df>>