Elasticity effects in type-II superconductors