Local and nonlocal material models, spatial randomness, and impact loading