Fortran 90 and HPF Programs Related to the Book
Book Title:
An Introduction
to Computational Physics
Author:
Tao Pang
Publisher:
Cambridge University Press
Publication Place: New York
Publication Date: September, 1997
ISBN's: 0-521-48143-0 (hardback); 0-521-48592-4 (paperback)
List Prices: $110 (hardback); $42.95 (paperback)
Other Info: 393 Pages; 7 x 10; 30 Line Diagrams; 5 Tables;
94 Exercises; Bibliography and Index
Please Note:
- All the Fortran 90 programs listed here are corresponding to the
Fortran 77 programs appeared in or related to the book. Several programs
(as indicated) have appeared in the book, which are copyrighted by
Cambridge University Press. Some changes are made in order to
take advantage of Fortran 90.
- No warranties, express or implied, are made for any materials
at this site.
Chapter 1. Introduction
-
Program 1.1: One-dimensional motion under a
harmonic force.
Chapter 2. Basic Numerical Methods
Chapter 3. Ordinary Differential Equations
-
Program 3.1: Simplest predictor-corrector
scheme.
-
Program 3.2: Pendulum solved with the
fourth order Runge-Kutta algorithm.
-
Program 3.3: Boundary-value problem solved
with the shooting method.
-
Program 3.4: Simplest algorithm for the
Sturm-Liouville equation.
-
Program 3.A: The Numerov algorithm from
Eqs. (3.77)-(3.80).
-
Program 3.B: The Numerov algorithm from
Eqs. (3.82)-(3.85).
-
Program 3.C: An application of Program 3.A.
-
Program 3.D: Eigenvalue problem of the 1D
Schroedinger equation.
Chapter 4. Numerical Methods for Matrices
-
Program 4.1: The partial pivoting Gaussian
elimination scheme.
-
Program 4.2: Determinant evaluated
with the Gaussian elimination scheme.
-
Program 4.3: Linear equation set solved
with the Gaussian elimination scheme.
-
Program 4.4: Matrix inversion
with the Gaussian elimination scheme.
-
Program 4.5: Determinant polynomials generator.
-
Program 4.6: Random matrix generator.
Chapter 5. Spectral Analysis and Gaussian Quadrature
Chapter 6. Partial Differential Equations
Chapter 7. Molecular Dynamics
-
Program 7.1: Halley's comet studied with
the Verlet algorithm.
-
Program 7.2: The Maxwell velocity distribution
generator.
Chapter 8. Modeling Continuous Systems
-
Program 8.1: A simple example on finite element
method.
Chapter 9. Monte Carlo Simulations
Chapter 12. High-Performance Computing
-
Program 12.1: Polar coordinates to
rectangular coordinates conversion (appeared in the book).
-
Program 12.2: Array examples in
Fortran 90 (appeared in the book).
-
Program 12.3: Module examples in
Fortran 90 (appeared in the book).
-
Program 12.4: HPF code for 2D
Poisson equation with the relaxation scheme (appeared in the book).
-
Program 12.5: An example of communication in
MPI environment (appeared in the book).
-
Program 12.6: An MPI program on evaluation of
the Euler constant.