quad2d, an Octave code which estimates an integral over a 2D rectangle using quadrature, intended as the starting point for program optimization or parallelization.
The computer code and data files described and made available on this web page are distributed under the MIT license
quad2d is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.
fft_serial, an Octave code which demonstrates the computation of a fast fourier transform, and is intended as a starting point for developing a parallel version.
fire_simulation, an Octave code which simulates a forest fire over a rectangular array of trees, starting at a single random location. it is intended as a starting point for the development of a parallel version.
heated_plate, an Octave code which solves the steady state heat equation in a 2d rectangular region, and is intended as a starting point for implementing a parallel version.
md, an Octave code which carries out a molecular dynamics simulation, and is intended as a starting point for implementing a parallel version.
prime, an Octave code which counts the number of primes between 1 and n, intended as a starting point for the creation of a parallel version.
quad, an Octave code which approximates an integral over a 1d region using a quadrature rule, and is intended as a starting point for parallelization exercises.
search_test, an Octave code which searches the integers from a to b for a value j such that f(j) = c. this version of the program is intended as a starting point for a parallel approach.