diff --git a/atmat/atphysics/Radiation/atdiffmat.m b/atmat/atphysics/Radiation/atdiffmat.m index a59b79170..1124c542b 100644 --- a/atmat/atphysics/Radiation/atdiffmat.m +++ b/atmat/atphysics/Radiation/atdiffmat.m @@ -15,7 +15,9 @@ newmethods = {'BndMPoleSymplectic4RadPass', ... 'StrMPoleSymplectic4RadPass', ... - 'ExactMultipoleRadPass'}; + 'ExactMultipoleRadPass',... + 'GWigSymplecticRadPass',... + 'EnergyLossRadPass'}; NumElements=length(ring); @@ -62,7 +64,7 @@ function elem=substitute(elem) if ~any(strcmp(elem.PassMethod, newmethods)) - elem.PassMethod = "BndMPoleSymplectic4RadPass"; + elem.PassMethod = 'BndMPoleSymplectic4RadPass'; end end end diff --git a/pyat/at/physics/radiation.py b/pyat/at/physics/radiation.py index d6834cfff..e8eb85724 100644 --- a/pyat/at/physics/radiation.py +++ b/pyat/at/physics/radiation.py @@ -31,7 +31,8 @@ "BndMPoleSymplectic4RadPass", "StrMPoleSymplectic4RadPass", "ExactMultipoleRadPass", - "GWigSymplectic4RadPass", + "GWigSymplecticRadPass", + "EnergyLossRadPass", } _NSTEP = 60 # nb slices in a wiggler period