Modeling and animation of fracture of heterogeneous materials based on CUDA