Skip to content

Commit ecee159

Browse files
committed
Fixed diffu_rw notebook error and added to Jupyter Book table of contents.
1 parent 6073ecf commit ecee159

482 files changed

Lines changed: 11580 additions & 7 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

fdm-devito-notebooks/03_diffu/diffu_rw.ipynb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
},
244244
{
245245
"cell_type": "code",
246-
"execution_count": 1,
246+
"execution_count": 4,
247247
"metadata": {},
248248
"outputs": [],
249249
"source": [
@@ -317,7 +317,7 @@
317317
},
318318
{
319319
"cell_type": "code",
320-
"execution_count": 23,
320+
"execution_count": 1,
321321
"metadata": {},
322322
"outputs": [],
323323
"source": [
@@ -326,7 +326,7 @@
326326
},
327327
{
328328
"cell_type": "code",
329-
"execution_count": 24,
329+
"execution_count": 8,
330330
"metadata": {},
331331
"outputs": [],
332332
"source": [
@@ -683,7 +683,7 @@
683683
},
684684
{
685685
"cell_type": "code",
686-
"execution_count": 25,
686+
"execution_count": 5,
687687
"metadata": {},
688688
"outputs": [],
689689
"source": [
@@ -765,7 +765,7 @@
765765
},
766766
{
767767
"cell_type": "code",
768-
"execution_count": 26,
768+
"execution_count": 9,
769769
"metadata": {},
770770
"outputs": [],
771771
"source": [
@@ -778,7 +778,7 @@
778778
" # the walk in random_walk1D\n",
779779
" num_walks = 1\n",
780780
" np.random.seed(10)\n",
781-
" computed = random_walks1D(\n",
781+
" computed = random_walks1D_vec(\n",
782782
" x0, N, p, num_walks, random=np.random)\n",
783783
" np.random.seed(10)\n",
784784
" expected = random_walk1D_vec(\n",
@@ -790,7 +790,7 @@
790790
},
791791
{
792792
"cell_type": "code",
793-
"execution_count": 27,
793+
"execution_count": 10,
794794
"metadata": {},
795795
"outputs": [
796796
{

fdm-jupyter-book/_toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
sections:
1010
- file: notebooks/wave/wave1D_fd1.ipynb
1111
- file: notebooks/wave/wave1D_prog.ipynb
12+
13+
- chapter: Diffusion equations
14+
sections:
15+
- file: notebooks/diffu/diffu_rw.ipynb

0 commit comments

Comments
 (0)