Skip to content

Commit

Permalink
Clean.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Oct 28, 2019
1 parent 6e6eb98 commit 4c7a20d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/trrun.f90
Original file line number Diff line number Diff line change
Expand Up @@ -5005,6 +5005,10 @@ subroutine tttdipole(track, ktrack, code)
k0 = k0 + f_errors(0) / length ! dipole term
k1 = k1 + f_errors(2) / length ! quad term

if (k0.eq.zero .and. k1.eq.zero) then
call ttdrf(length,track,ktrack);
return
endif
!---- Apply entrance dipole edge effect
if (node_value('kill_ent_fringe ') .eq. zero) &
call ttdpdg_map(track, ktrack, e1, h1, hgap, fint, zero)
Expand Down

0 comments on commit 4c7a20d

Please sign in to comment.