fdm-book
Resources for the book The Craft of Finite Difference Computing with Partial Differential Equations by Hans Petter Langtangen and Svein Linge.
This easy-to-read book introduces the basics of solving partial differential equations by finite difference methods. The emphasis is on constructing finite difference schemes, formulating algorithms, implementing algorithms, verifying implementations, analyzing the physical behavior of the numerical solutions, and applying the methods and software to solve problems from physics and biology.
Directory structure
src
: source code for book examplessrc/X
: source code from chapterX
doc
: documents for the bookdoc/pub
: (preliminary) published documentsdoc/pub/book
: complete (preliminary) published bookdoc/pub/X
: (preliminary) published chapterX
doc/.src
: DocOnce source code and computer codedoc/.src/book
: DocOnce source code for assembling the complete bookdoc/.src/chapters/X
: DocOnce source code for chapterX
Source files are compiled in doc/.src/chapters/X
(a specific chapter)
or /doc/.src/book
(the entire book) and copied to some subdirectory
under doc/pub
for publication in the gh-pages branch.
Development takes place in the master branch, and the gh-pages branch is always merge with master.