Improvement and Application of Smoothed Particle Hydrodynamics in Elastodynamics