Examples in HPF

- Example-1
- Brief description:
The program will solve Laplace heat equation over a rectangle by the
Red/Black SOR method. The main subroutine implements the
Gauss-Seidel overrelaxation scheme using the odd-even
algorithm. The SOR update is computed afterward.
- The source code is available for the DEC Alpha
cluster and a second version forthe IBM
SP2. A sample run on the SP2 is here.
- Example-2
- Brief description:
Implementation of Fast Fourier Transforms (FFT).
- The source code: is here
and a slightly different version is here.
- Example-3
- Brief description:
This program will solve a linear system of equations by Gauss
elimination with partial pivoting.
- The source code: is here.
- Example-4
- Brief description:
An implementation of Floyd All-to-All shortest path algorithm.
- The source code: is here.
- Example-5
- Brief description:
Implementations of gather and scatter with HPF.
- The source code: for
gather
and scatter.
- Example-6
- Brief description:
A reasonably good implementation of the Nbody problem.
- The source code: which was tested on the DEC AlphaFarm
is available here.
- Example-7
- Brief description:
This is an example of a simple CFD implementation solving the
Laplace equation for Psi over a grid that is shaped into an air
vent. he grid is shaped using the logical variable Hide. The program
uses the Red/black SOR method.
- The source code is available here.
- Example-8
- Brief description:
This example is a CFD code simulating quasi one-dimensional
inviscid flow through a dlivering nozzle. Depending on the back
pressure given, the code will output mach number data that shows
either a smooth progression or a shock wave in the middle of the
nozzle.
- The source code is available here.
- Example-9
- Brief description:
This program uses HPF/Fortran 90 to simulate two-dimensional
inviscid flow through a nozzle. The numerical scheme is a finite
volume cell centered scheme employing a fourth stage
Runge-Kutta time stepping algorithm. Artificial viscosity
terms are added to stabilize the scheme in areas of large
gradients, such as shock waves.
- The source code is available here.
Saleh Elmohamed
Last modified: Sun Feb 22 04:17:27 EST 1998