Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Tap command orbit setting #957

Merged
merged 14 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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