ising_3d_simulation, a FORTRAN90 code which carries out a Monte Carlo simulation of a 3D Ising model.
The text of this Ising model appeared as an example in the ANSI FORTRAN90 standard in 1992. It is a nice presentation of how to use certain features of FORTRAN90, and also demonstrates why one would like to use these features - they make the Ising calculation very simple to describe.
ising_3d_simulation n iterationswhere
The computer code and data files described and made available on this web page are distributed under the MIT license
ising_3d_simulation is available in a FORTRAN90 version.
BROWNIAN_MOTION_SIMULATION, a FORTRAN90 code which simulates Brownian motion in an M-dimensional region.
DUEL_SIMULATION, a FORTRAN90 code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.
f90_intrinsics_test, FORTRAN90 codes which illustrate the use of FORTRAN90 intrinsic functions.
FAIR_DICE_SIMULATION, a FORTRAN90 code which simulates N tosses of 2 dice, making a histogram of the results.
HIGH_CARD_SIMULATION, a FORTRAN90 code which simulates a situation in which you see the cards in a deck one by one, and must select the one you think is the highest and stop; the program uses GNUPLOT for graphics.
MANDELBROT, a FORTRAN90 code which generates an ASCII PPM image of the Mandelbrot set;
POISSON_SIMULATION, a FORTRAN90 code which simulates a Poisson process in which events randomly occur with an average waiting time of Lambda.
REACTOR_SIMULATION, a FORTRAN90 code which is a simple Monte Carlo simulation of the shielding effect of a slab of a certain thickness in front of a neutron source. This program was provided as an example with the book "Numerical Methods and Software."
THREE_BODY_SIMULATION, a FORTRAN90 code which simulates the behavior of three planets, constrained to lie in a plane, and moving under the influence of gravity, by Walter Gander and Jiri Hrebicek.
TWO_BODY_SIMULATION, a FORTRAN90 code which simulates the behavior of two bodies, constrained to lie in a plane, moving under the influence of gravity, with one body much more massive than the other, creating graphics files for processing by gnuplot.