Domain decomposition with discrete element simulations using shared-memory parallel computing for railways applications