Skip to content

Commit 56fe8f7

Browse files
author
sveinlin
committed
fixed some movie links in wave chapter
1 parent 285157c commit 56fe8f7

35 files changed

Lines changed: 82 additions & 78 deletions

doc/.src/chapters/mako_code.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,12 @@ doc = 'http://htmlpreview.github.io/?https://github.com/slgit/fdm-book-mov/blob/
3333
doc = 'http://tinyurl.com/gmw2yrj'
3434

3535
# For movies:
36-
docraw = 'https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/.src/book/'
37-
docraw = 'http://tinyurl.com/hfdndao'
36+
# 24jan2017, HP original lines:
37+
# docraw = 'https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/.src/book/'
38+
# docraw = 'http://tinyurl.com/hfdndao'
39+
docraw = 'https://raw.githubusercontent.com/slgit/fdm-book-mov/master/'
40+
docraw = 'http://tinyurl.com/zeyvdse'
41+
3842

3943
#writing_reports = 'http://hplgit.github.io/teamods/writing_reports'
4044
writing_reports = 'http://tinyurl.com/nc4upel'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ 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}/pub/wave/html/mov-wave/D_stencil_gpl/index.html"
364+
"${doc_notes}/mov-wave/D_stencil_gpl/index.html"
365365
or a "movie file":
366-
"${doc_notes}/pub/wave/html/mov-wave/D_stencil_gpl/movie.ogg".
366+
"${docraw}/mov-wave/D_stencil_gpl/movie.ogg".
367367

368368

369369
===== Sketch of an implementation =====
-82 Bytes
Binary file not shown.
121 Bytes
Binary file not shown.
-85 Bytes
Binary file not shown.

doc/pub/wave/html/._wave-sol000.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@
724724
<center>[3] <b>Department of Process, Energy and Environmental Technology, University College of Southeast Norway</b></center>
725725
<br>
726726
<p>
727-
<center><h4>Jan 21, 2017</h4></center> <!-- date -->
727+
<center><h4>Jan 24, 2017</h4></center> <!-- date -->
728728
<br>
729729
<p>
730730
<!-- Externaldocuments: ../../../../../decay-book/doc/.src/book/book, ../vib/main_vib, ../../../../../scaling-book/doc/.src/book -->

doc/pub/wave/html/._wave-sol001.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,8 +1059,8 @@ <h2 id="wave:string:alg">Formulating a recursive algorithm</h2>
10591059

10601060
The algorithm essentially consists of moving a finite difference
10611061
stencil through all the mesh points, which can be seen as an animation
1062-
in a <a href="http://tinyurl.com/pu5uyfn/pub/pub/wave/html/mov-wave/D_stencil_gpl/index.html" target="_self">web page</a>
1063-
or a <a href="http://tinyurl.com/pu5uyfn/pub/pub/wave/html/mov-wave/D_stencil_gpl/movie.ogg" target="_self">movie file</a>.
1062+
in a <a href="http://tinyurl.com/gmw2yrj/mov-wave/D_stencil_gpl/index.html" target="_self">web page</a>
1063+
or a <a href="http://tinyurl.com/gmw2yrj/mov-wave/D_stencil_gpl/movie.ogg" target="_self">movie file</a>.
10641064

10651065
<h2 id="wave:string:impl">Sketch of an implementation</h2>
10661066

doc/pub/wave/html/._wave-sol002.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ <h2 id="wave:pde1:guitar:data">Running a case</h2>
13291329
</pre></div>
13301330
<p>
13311331
The associated program has the name <a href="http://tinyurl.com/nu656p2/wave/wave1D/wave1D_u0.py" target="_self"><tt>wave1D_u0.py</tt></a>. Run
1332-
the program and watch the <a href="http://tinyurl.com/pu5uyfn/pub/pub/wave/html/mov-wave/guitar_C0.8/movie.html" target="_self">movie of the vibrating string</a>.
1332+
the program and watch the <a href="http://tinyurl.com/gmw2yrj/pub/wave/html/mov-wave/guitar_C0.8/movie.html" target="_self">movie of the vibrating string</a>.
13331333
The string should ideally consist of straight segments, but these are
13341334
somewhat wavy due to numerical approximation. Run the case with the
13351335
<code>wave1D_u0.py</code> code and \( C=1 \) to see the exact solution.

doc/pub/wave/html/._wave-sol003.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,8 @@ <h1 id="wave:pde2:Neumann">Generalization: reflecting boundaries</h1>
705705
<p>
706706
The boundary condition \( u=0 \) in a wave equation reflects the wave, but
707707
\( u \) changes sign at the boundary, while the condition \( u_x=0 \) reflects
708-
the wave as a mirror and preserves the sign, see a <a href="http://tinyurl.com/pu5uyfn/pub/pub/wave/html/mov-wave/demo_BC_gaussian/index.html" target="_self">web page</a> or a
709-
<a href="http://tinyurl.com/pu5uyfn/pub/pub/wave/html/mov-wave/demo_BC_gaussian/movie.flv" target="_self">movie file</a> for
708+
the wave as a mirror and preserves the sign, see a <a href="http://tinyurl.com/gmw2yrj/pub/wave/html/mov-wave/demo_BC_gaussian/index.html" target="_self">web page</a> or a
709+
<a href="http://tinyurl.com/gmw2yrj/pub/wave/html/mov-wave/demo_BC_gaussian/movie.flv" target="_self">movie file</a> for
710710
demonstration.
711711

712712
<p>
@@ -836,8 +836,8 @@ <h2 id="wave:pde2:Neumann:discr">Discretization of derivatives at the boundary</
836836
The modification of the scheme at the boundary is also required for
837837
the special formula for the first time step. How the stencil moves
838838
through the mesh and is modified at the boundary can be illustrated by
839-
an animation in a <a href="http://tinyurl.com/pu5uyfn/pub/pub/wave/html/mov-wave/N_stencil_gpl/index.html" target="_self">web page</a>
840-
or a <a href="http://tinyurl.com/pu5uyfn/pub/pub/wave/html/mov-wave/N_stencil_gpl/movie.ogg" target="_self">movie file</a>.
839+
an animation in a <a href="http://tinyurl.com/gmw2yrj/pub/wave/html/mov-wave/N_stencil_gpl/index.html" target="_self">web page</a>
840+
or a <a href="http://tinyurl.com/gmw2yrj/pub/wave/html/mov-wave/N_stencil_gpl/movie.ogg" target="_self">movie file</a>.
841841

842842
<h2 id="wave:pde2:Neumann:impl">Implementation of Neumann conditions</h2>
843843

doc/pub/wave/html/._wave-solarized000.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@
583583
<center>[3] <b>Department of Process, Energy and Environmental Technology, University College of Southeast Norway</b></center>
584584
<br>
585585
<p>
586-
<center><h4>Jan 21, 2017</h4></center> <!-- date -->
586+
<center><h4>Jan 24, 2017</h4></center> <!-- date -->
587587
<br>
588588
<p>
589589
<!-- Externaldocuments: ../../../../../decay-book/doc/.src/book/book, ../vib/main_vib, ../../../../../scaling-book/doc/.src/book -->

0 commit comments

Comments
 (0)