Programs for "Physics of Continuous Matter, 2nd Edition"
B. Lautrup, The Niels Bohr Institute, Copenhagen, Denmark
Please direct all comments to lautrup@nbi.dk

Version 3.0 September 25, 2013

----------------------

PACKAGE STRUCTURE

At the top level the package contains one file

readme.html - this file

and three directories

Book --- Mathematica 8.1 notebooks and data files for each chapter of the book
Numerics --- Visual 2010 C++ programs for chapters 11 and 19 on numeric methods
Simulations --- Comsol 4.1 simulations of some elastic and flow problems

----------------------

CONTENTS of Book

Mathematica 9 notebooks.

chapternumber.nb ---- each chapter has an associated notebook
data/ --- various data from simulations and numerics
 images/ --- where images are put if the option Export->True is used in Figure
Lautrup folder --- a convenience library (see below)

----------------------


CONTENTS of the Lautrup library in Book

Mathematica 9 notebooks that generate corresponding m-files when saved.

init.nb - automatically initializes the library and preloads all packages

CleanGlobal.nb --- clean the Global context
Figure.nb --- export a figure from a Mathematica notebook. The options also permits inclusion of all fonts in pdf-images.
NDSolveBV.nb ---  boundary value solver for ordinary differential equations.
Units.nb --- extension to the builtin Quantity function to define unit constants.
PhysicalConstants.nb --- extension to the Quantity function to physical constants.
VectorAnalysis.nb --- extension of the builtin vector analysis functions.

pdftopdf/ --- programs for including all fonts in pdf-images


----------------------


CONTENTS of Numerics

Implemented C++ programs. Here they are compiled with Microsoft Visual Studio 2010, but can easily be compiled with any C++ compiler

settling2d --- the numerics as described in chapter 11
channel2d --- the numerics as described in chapter 19

----------------------

CONTENTS of Simulations

Comsol 4.1 simulations used in figures

airfoil2d ---  flow over a particula NACA airfoil (figs. 29.3 and 29.6)
backstep --- flow over an expansion of its container (fig. 13.3)
block3d ---  deformation of a cylindrical rod (fig. 9.1)
cantilever --- bending of a cantilever by its own weight (fig. 10.1)
inout --- inlet-outlet flow difference (fig.  13.2)
planar2d --- entry flow in a channel (fig. 16.1)
settling3d --- deformation of a cylindrical block (fig. 9.3)