mcvine / acc

Accelerated mcvine engine
0 stars 1 forks source link

ComponentBase refactor #57

Closed ckendrick closed 2 years ago

ckendrick commented 2 years ago

This updates the ComponentBase class to allow float type switching, as well as enforcing the existence of a propagate method in subclasses.

Major changes include:

All currently existing components have been updated for these new changes: Arm, Beamstop, DivPos_Monitor, Guide, Guide_tapering, Slit, Source_simple, and Wavelength_Monitor