Skip to content

Commit

Permalink
Fix Tap cut command orbit setting
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSagan committed May 7, 2024
1 parent 419b306 commit 49fbba1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Types of entries:
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

- 2024-05-06 Fixed Tao `cut` command orbit setting.

- 2024-04-24 Removed: srdt_lsq_soln program since it is not supported and Tao has this functionality.

- 2024-04-24 Fixed: Foil tracking when there is an offset.
Expand Down
3 changes: 2 additions & 1 deletion tao/code/tao_command.f90
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,8 @@ subroutine tao_command (command_line, err_flag, err_is_fatal)
case ('-static'); u%model%lat%particle_start = u%model%tao_branch(0)%orbit(0)
case ('-zero'); u%model%lat%particle_start%vec = 0
end select

u%model%tao_branch(0)%orb0 = u%model%lat%particle_start

u%calc%lattice = .true.
call tao_lattice_calc (ok)

Expand Down

0 comments on commit 49fbba1

Please sign in to comment.