mcvine / acc

Accelerated mcvine engine
0 stars 1 forks source link

Create Slit component for VERDI optics #62

Closed mtbc closed 2 years ago

mtbc commented 2 years ago

Required for next milestone.

mtbc commented 2 years ago

A rectangular aperture, the only path through which neutrons may pass.

yxqd commented 2 years ago

https://github.com/mcvine/mcvine/blob/c06eda8c47d4fa69c1c600c18d17a7aa2467a7e7/packages/legacycomponents/mcstas2/share/McStas-Components/optics/Slit.comp#L60

mtbc commented 2 years ago

Going fine but it would help if I didn't write things like,

x += x + vx * dt

:laughing: