GDQFEM Numerical Simulations of Continuous Media with Cracks and Discontinuities