shallow_water_1d


shallow_water_1d, a MATLAB code which simulates a system governed by the shallow water equations in 1D.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

shallow_water_1d is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

shallow_water_1d_test

shallow_water_1d_display, a MATLAB code which can display a solution of the shallow water equations in 1D, generally as computed by shallow_water_1d().

shallow_water_1d_movie, a MATLAB code which solves the partial differential equation (PDE) known as the shallow water equations (SWE), converting the solutions to a sequence of graphics frames, which are then assembled into a movie.

Reference:

  1. Cleve Moler,
    Experiments with MATLAB

Source Code:


Last modified on 01 June 2020.