fd1d_heat_implicit_test, a Fortran77 code which calls fd1d_heat_implicit(), which solves the time-dependent 1D heat equation, using the finite difference method (FDM) in space, and an implicit version of the method of lines to handle integration in time.
The information on this web page is distributed under the MIT license.
fd1d_heat_implicit, a Fortran77 code which solves the time-dependent 1D heat equation, using the finite difference method (FDM) in space, and an implicit version of the method of lines to handle integration in time.
x = load ( 'x.txt' ); t = load ( 't.txt' ); u = load ( 'u.txt' ); [ xg, tg ] = meshgrid ( x, t ); mesh ( xg, tg, u );