xsuite / xcoll

Xsuite collimation package
Apache License 2.0
3 stars 15 forks source link

K2Engine and small changes in test #89

Closed simoneotelie closed 3 months ago

simoneotelie commented 3 months ago

Description

Made sure to delete entire run_1 folder after each run to avoid getting unwanted error "K2collimator frozen" when it is not supposed to be there. It was not possible to have a run with particles > 50 000 due to the default capacity. Passing _capacity as kwargs or a parameter did not work as it did not reach the init. Temporary(!) solution is to assign it in start(). Small changes in test_K2.

Closes # .

Checklist

Mandatory:

Optional: