ising_3d_simulation


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.

Usage:

ising_3d_simulation n iterations
where Note that the user might also want to vary the transition probabilities. This cannot currently be done on the command line, and requires editing the program and recompiling it.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

ising_3d_simulation is available in a FORTRAN90 version.

Related Data and Programs:

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.

ising_3d_simulation_test

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.

Reference:

  1. American National Standard for Programming Language: Fortran - Extended,
    American National Standards Institute, 1992,
    pages 296-299.

Source Code:


Last revised on 19 July 2020.