Structural response of a railgun accelerator