ngedwin98 / ABCDBeamTrace.jl

ABCD formalism for linear optics in Julia: ray transfer matrices and Gaussian beam propagation
Other
9 stars 3 forks source link

`discretize` does not work for `::FreeSpace` nor for `::Vector{<:Element}` #4

Closed ghost closed 5 years ago

ghost commented 5 years ago

As the title says. The problem seems to be that wrong variables are accessed (L resp. e) which should probably be replaced by an expression for the length of a ::FreeSpace and with els, respectively.