Solving the heat transfer equation by a finite difference method using multi-dimensional arrays in CUDA as in standard C.