.. _notebooks: IPython notebook examples ========================= The `IPython notebook `_ is a very nice platform for illustrating Clawpack examples. If you have used Clawpack with the IPython notebook, please send us a link or submit a pull request to the `apps repository `_. The links below will take you to the nbviewer site, where you can view the notebooks as html. You can also play animations in them and interact with some plots, but to actually run the code yourself you should click the download link at the top-right of each nbviewer page. You can find demonstrations of how to set up animated results in some of the notebooks below. Source for some of these notebooks can also be found in `$CLAW/apps/notebooks`. **Warning:** The notebooks and tools to support them are being actively developed, so these may change in the near future and the versions posted here may not work with the current Clawpack. **Examples using PyClaw:** * `A quick introduction to PyClaw `_ * `A 2D fluid dynamics example `_ * `Stegotons: solitary waves arising in non-dispersive periodic media `_ * `Demonstration of different limiters for advection `_ * More to come **Examples illustrating Riemann solvers:** * `The Riemann problem for the Euler equations `_ * `Euler shock tube `_ * `Riemann solutions of the shallow water equations `_ * `Shallow water equations -- Riemann solver tests `_ * `Acoustics equations and their Riemann solver in 1D and 2D `_ * `Elasticity equations and their Riemann solver in 2D and 3D `_ **Examples using the Fortran code:** * `Demo of running the code and producing an animation of results `_ * `Demo of AMRClaw with adjustment of runtime and plotting parameters `_ * `Riemann solutions of the shallow water equations `_ * More to come **Examples for GeoClaw:** * `IPython notebook illustrating topotools `_ * `IPython notebook illustrating dtopotools `_ * `IPython notebook illustrating the Okada model `_ **Examples illustrating methods:** * `Advection Equation and the REA algorithm `_