Skip to content

Commit 25392fd

Browse files
author
sveinlin
committed
fixed some links
1 parent 6fd9d8e commit 25392fd

11 files changed

Lines changed: 26 additions & 16 deletions

doc/.src/chapters/advec/advec.do.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -320,15 +320,15 @@ wave, and this main wave has the amplitude reduced.
320320

321321
FIGURE: [fig-advec/gaussian_LF_C08, width=800 frac=1] Advection of a Gaussian function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.001$ (left) and $\Delta t=0.01$ (right). label{advec:1D:LF:fig1:C08}
322322

323-
MOVIE: [mov-advec/gaussian/LF/C08_dt01.ogg] Advection of a Gaussian function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.01$. label{advec:1D:LF:mov1:C08:dt1}
323+
MOVIE: [https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/pub/book/html/mov-advec/gaussian/LF/C08_dt01.ogg] Advection of a Gaussian function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.01$. label{advec:1D:LF:mov1:C08:dt1}
324324

325-
MOVIE: [mov-advec/gaussian/LF/C08_dt001.ogg] Advection of a Gaussian function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.001$. label{advec:1D:LF:mov1:C08:dt2}
325+
MOVIE: [https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/pub/book/html/mov-advec/gaussian/LF/C08_dt001.ogg] Advection of a Gaussian function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.001$. label{advec:1D:LF:mov1:C08:dt2}
326326

327327
FIGURE: [fig-advec/cosinehat_LF_C08, width=800 frac=1] Advection of half a cosine function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.001$ (left) and $\Delta t=0.01$ (right). label{advec:1D:LF:fig2:C08}
328328

329-
MOVIE: [mov-advec/cosinehat/UP/C08_dt01.ogg] Advection of half a cosine function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.01$. label{advec:1D:LF:mov2:C08:dt1}
329+
MOVIE: [https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/pub/book/html/mov-advec/cosinehat/UP/C08_dt01.ogg] Advection of half a cosine function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.01$. label{advec:1D:LF:mov2:C08:dt1}
330330

331-
MOVIE: [mov-advec/cosinehat/UP/C08_dt001.ogg] Advection of half a cosine function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.001$. label{advec:1D:LF:mov2:C08:dt2}
331+
MOVIE: [https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/pub/book/html/mov-advec/cosinehat/UP/C08_dt001.ogg] Advection of half a cosine function with a leapfrog scheme and $C=0.8$, $\Delta t = 0.001$. label{advec:1D:LF:mov2:C08:dt2}
332332

333333

334334
=== Analysis ===

doc/.src/chapters/diffu/diffu_fd1.do.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ Terminal> python -c 'from diffu1D_u0 import gaussian
564564
The $u(x,t)$ curve as a function of $x$ is shown in Figure
565565
ref{diffu:pde1:FE:fig:F=0.5} at four time levels.
566566

567-
MOVIE: [mov-diffu/diffu1D_u0_FE_plug/movie.ogg]
567+
MOVIE: [https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/pub/book/html/mov-diffu/diffu1D_u0_FE_plug/movie.ogg]
568568

569569
# "movie": "${doc_notes}/pub/diffu/html/mov-diffu/diffu1D_u0_FE_plug/movie.ogg"
570570
# Does not work:

doc/.src/chapters/mako_code.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,25 @@ doc2 = 'http://tinyurl.com/Langtangen-Linge-FDM-book'
2929
# 23jan2017, HP original lines:
3030
# doc = 'http://hplgit.github.io/fdm-book/doc/'
3131
# doc = 'http://tinyurl.com/pu5uyfn'
32-
doc = 'http://htmlpreview.github.io/?https://github.com/slgit/fdm-book-mov/blob/master'
33-
doc = 'http://tinyurl.com/gmw2yrj'
32+
# sl, testing - these 2 lines work
33+
# doc = 'http://htmlpreview.github.io/?https://github.com/slgit/fdm-book-mov/blob/master'
34+
# doc = 'http://tinyurl.com/gmw2yrj'
35+
36+
doc = 'http://htmlpreview.github.io/?https://github.com/hplgit/fdm-book/blob/master/doc/pub'
37+
doc = 'http://tinyurl.com/hbcasmj'
38+
39+
3440

3541
# For movies:
3642
# 24jan2017, HP original lines:
3743
# docraw = 'https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/.src/book/'
3844
# docraw = 'http://tinyurl.com/hfdndao'
39-
docraw = 'https://raw.githubusercontent.com/slgit/fdm-book-mov/master/'
40-
docraw = 'http://tinyurl.com/zeyvdse'
45+
# sl, testing - these 2 lines work, except for the Movie 1, etc, typesetting:
46+
# docraw = 'https://raw.githubusercontent.com/slgit/fdm-book-mov/master/'
47+
# docraw = 'http://tinyurl.com/zeyvdse'
48+
docraw = 'https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/pub/book/html/'
49+
docraw = 'http://tinyurl.com/gokgkov'
50+
4151

4252

4353
#writing_reports = 'http://hplgit.github.io/teamods/writing_reports'

doc/.src/chapters/vib/vib_gen.do.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ $\Delta t = 0.05$, and $T=140$. The relevant command to run is
429429
Terminal> python vib.py --s 'sin(u)' --F '3*cos(4*t)' --c 0.03
430430
!ec
431431
This results in a "moving window following the function":
432-
"${doc_notes}/mov-vib/vib_generalized_dt0.05/index.html" on the screen.
432+
"${doc_notes}/vib/html//mov-vib/vib_generalized_dt0.05/index.html" on the screen.
433433
Figure ref{vib:ode2:fig:demo} shows a part of the time series.
434434

435435
FIGURE: [fig-vib/vib_gen_demo, width=600 frac=1.0] Damped oscillator excited by a sinusoidal function. label{vib:ode2:fig:demo}

doc/.src/chapters/wave/wave1D_fd1.do.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ We can now summarize the computational algorithm:
361361
The algorithm essentially consists of moving a finite difference
362362
stencil through all the mesh points, which can be seen as an animation
363363
in a "web page":
364-
"${doc_notes}/mov-wave/D_stencil_gpl/index.html"
364+
"${doc_notes}/book/html/mov-wave/D_stencil_gpl/index.html"
365365
or a "movie file":
366366
"${docraw}/mov-wave/D_stencil_gpl/movie.ogg".
367367

doc/.src/chapters/wave/wave1D_fd2.do.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ label{wave:pde2:Neumann}
44
The boundary condition $u=0$ in a wave equation reflects the wave, but
55
$u$ changes sign at the boundary, while the condition $u_x=0$ reflects
66
the wave as a mirror and preserves the sign, see a "web page":
7-
"${doc_notes}/mov-wave/demo_BC_gaussian/index.html" or a
7+
"${doc_notes}/book/html/mov-wave/demo_BC_gaussian/index.html" or a
88
"movie file":
99
"${docraw}/mov-wave/demo_BC_gaussian/movie.flv" for
1010
demonstration.
@@ -158,7 +158,7 @@ The modification of the scheme at the boundary is also required for
158158
the special formula for the first time step. How the stencil moves
159159
through the mesh and is modified at the boundary can be illustrated by
160160
an animation in a "web page":
161-
"${doc_notes}/mov-wave/N_stencil_gpl/index.html"
161+
"${doc_notes}/book/html/mov-wave/N_stencil_gpl/index.html"
162162
or a "movie file":
163163
"${docraw}/mov-wave/N_stencil_gpl/movie.ogg".
164164

doc/.src/chapters/wave/wave1D_prog.do.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ calling `viz` in this application goes as follows:
373373
The associated program has the name "`wave1D_u0.py`":
374374
"${src_wave}/wave1D/wave1D_u0.py". Run
375375
the program and watch the "movie of the vibrating string":
376-
"${doc_notes}/mov-wave/guitar_C0.8/movie.html".
376+
"${doc_notes}/wave/html/mov-wave/guitar_C0.8/movie.html".
377377
The string should ideally consist of straight segments, but these are
378378
somewhat wavy due to numerical approximation. Run the case with the
379379
`wave1D_u0.py` code and $C=1$ to see the exact solution.

doc/.src/chapters/wave/wave2D_prog.do.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ It is wise to use a high frame rate -- a low one will just skip many
413413
frames. There may also be considerable quality differences between the
414414
different formats.
415415

416-
MOVIE: [mov-wave/gnuplot/wave2D_u0_gaussian/movie25.mp4]
416+
MOVIE: [https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/pub/book/html/mov-wave/gnuplot/wave2D_u0_gaussian/movie25.mp4]
417417

418418
idx{`Mayavi`}
419419
idx{`mlab`}
@@ -537,7 +537,7 @@ can use `ffmpeg` to create videos.
537537

538538
FIGURE: [fig-wave/mayavi2D_gaussian1.png, width=600 frac=0.8] Plot with Mayavi.
539539

540-
MOVIE: [mov-wave/mayavi/wave2D_u0_gaussian/movie.mp4]
540+
MOVIE: [https://github.com/hplgit/fdm-book/blob/master/doc/pub/book/html/mov-wave/mayavi/wave2D_u0_gaussian/movie.mp4]
541541

542542

543543
======= Exercises =======
-1.69 KB
Binary file not shown.
-2.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)