module ion_emitter_struct use bmad_struct type ion_emitter_param_struct real(rp), allocatable :: xa(:) real(rp), allocatable :: ya(:) real(rp), allocatable :: sxa(:) real(rp), allocatable :: sya(:) logical, allocatable :: ea(:) integer :: bstart real(rp) :: sspacing integer :: nmax end type ion_emitter_param_struct end module