Discrete mathematics, discrete physics and numerical methods