Crank-Nicolson method for diffusion equation, implementation in C and Fortran. For higher value os ฮt, the method can contain oscillations.
jabolina / diffusion-equation Goto Github PK
View Code? Open in Web Editor NEWSimulation of diffusion equation in 1D and 2D