Skip to content

Commit

Permalink
Minor mods. (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidSagan authored Jul 8, 2024
1 parent 6d08b67 commit 2ee217d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bmad/doc/cover-page.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

\begin{flushright}
\large
Revision: June 19, 2024 \\
Revision: July 7, 2024 \\
\end{flushright}

\pdfbookmark[0]{Preamble}{Preamble}
Expand Down
9 changes: 9 additions & 0 deletions bsim/modules/lt_tracking_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,15 @@ subroutine ltt_init_tracking (lttp, ltt_com, beam)
character(40) start_name, stop_name
character(*), parameter :: r_name = 'ltt_init_tracking'

!

if (lttp%split_bends_for_stochastic_rad .and. lttp%ramping_on) then
call out_io (s_fatal$, r_name, 'LTT%SPLIT_BENDS_FOR_STOCHASTIC_RAD NOT COMPATIBLE WITH RAMPING.')
stop
endif



! Apply rampers and then turn off ramper use for twiss_and_track since rampers simulating
! noise (using random numbers) will drive the closed orbit calc crazy.

Expand Down
2 changes: 1 addition & 1 deletion tao/code/tao_python_cmd.f90
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ subroutine tao_python_cmd (input_str)
ix_branch = parse_branch(line, u, .false., err); if (err) return

nl=incr(nl); write (li(nl), lmt) 'always_reinit;LOGIC;T;', u%beam%always_reinit
nl=incr(nl); write (li(nl), lmt) 'track_beam_in_universe;LOGIC;T;', u%beam%track_beam_in_universe
nl=incr(nl); write (li(nl), lmt) 'track_beam_in_universe;LOGIC;F;', u%beam%track_beam_in_universe
nl=incr(nl); write (li(nl), amt) 'saved_at;STR;T;', trim(u%beam%saved_at)
nl=incr(nl); write (li(nl), amt) 'dump_at;STR;T;', trim(u%beam%dump_at)
nl=incr(nl); write (li(nl), amt) 'dump_file;STR;T;', trim(u%beam%dump_file)
Expand Down
2 changes: 1 addition & 1 deletion tao/version/tao_version_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
!-

module tao_version_mod
character(*), parameter :: tao_version_date = "2024/07/05 00:54:19"
character(*), parameter :: tao_version_date = "2024/07/07 20:20:56"
end module

0 comments on commit 2ee217d

Please sign in to comment.