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 Tao command. #1017

Merged
merged 1 commit into from
Jun 25, 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: 1 addition & 1 deletion sim_utils/interfaces/precision_def.f90
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module precision_def
integer, parameter :: i4_b = selected_int_kind(9) ! Equiv to NR I4B

type global_common_struct
logical :: mp_threading_is_safe = .true. ! Can threading be used with MP?
logical :: mp_threading_is_safe = .true. ! Can threading be used with MP? EG ramping is not thread safe.
logical :: exit_on_error = .true. ! Exit program on error?
integer :: debug = 0 ! Used for debugging purpeses
end type
Expand Down
4 changes: 2 additions & 2 deletions tao/code/tao_python_cmd.f90
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ subroutine tao_python_cmd (input_str)

case ('beam')

u => point_to_uni(line, .false., err); if (err) return
u => point_to_uni(line, .true., err); if (err) return
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
Expand Down Expand Up @@ -378,7 +378,7 @@ subroutine tao_python_cmd (input_str)

case ('beam_init')

u => point_to_uni(line, .false., err); if (err) return
u => point_to_uni(line, .true., err); if (err) return
ix_branch = parse_branch(line, u, .false., err); if (err) return
beam_init => u%model_branch(ix_branch)%beam%beam_init

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/06/20 04:46:43"
character(*), parameter :: tao_version_date = "2024/06/22 15:38:34"
end module