!+ ! Subroutine clear_lat_1turn_mats (lat) ! ! Subroutine to clear the 1-turn matrices in the lat structure: ! lat%param%t1_no_RF ! lat%param%t1_with_RF ! This will force any routine dependent upon these to do a remake. ! ! Output: ! lat -- lat_struct: Lat with 1-turn matrices cleared. !- subroutine clear_lat_1turn_mats (lat) use bmad_struct implicit none type (lat_struct) lat lat%param%t1_no_RF = 0 lat%param%t1_with_RF = 0 end subroutine clear_lat_1turn_mats