Skip to content

Commit

Permalink
Add changes from clawpack#71.
Browse files Browse the repository at this point in the history
  • Loading branch information
ketch committed May 18, 2017
1 parent 7b4aab5 commit 38dcf01
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
1 change: 1 addition & 0 deletions Index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"\n",
"## Part I: The Riemann problem and its solution\n",
"\n",
" 0. [Introduction](Introduction.ipynb)\n",
" 1. [Advection](Advection.ipynb)\n",
" 2. [Acoustics](Acoustics.ipynb)\n",
" 3. [Traffic flow](Traffic_flow.ipynb)\n",
Expand Down
22 changes: 6 additions & 16 deletions Introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,21 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from exact_solvers import shallow_water\n",
"from ipywidgets import widgets, fixed"
"from ipywidgets import widgets, fixed\n",
"from ipywidgets import interact"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#from ipywidgets import interact # for interactive widgets\n",
"#from utils.snapshot_widgets import interact # for static figure that can be viewed online\n",
"from utils.jsanimate_widgets import interact # for JSAnimation that can be viewed online"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"interact(shallow_water.make_demo_plot_function(h_l=3., h_r=1., u_l=0., u_r=0),\n",
Expand Down
1 change: 1 addition & 0 deletions make_chapters.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import subprocess

chapters = ['Preface',
'Introduction',
'Traffic_flow',
'Shallow_water',
'Euler_approximate_solvers',
Expand Down

0 comments on commit 38dcf01

Please sign in to comment.