Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Ising 2D Spatial Decomposition Model Documents

This material has 3 associated documents. Select a document title to view a document's information.

Main Document

Ising 2D Spatial Decomposition Model 

written by Wolfgang Christian

The two-dimensional Ising Spatial Decomposition model solves the Ising model on a parallel computer by partitioning the spin lattice into rectangular subsystems of approximately equal size and assigning an independent computational thread to each subsystem. Because a lattice site only interacts with its nearest neighbors, sites in the interior of a subsystem only interact with sites in the same subsystem and the solution algorithm can be applied without interference between threads.  Border cells, however, can interact with cells in neighboring subsystems and this interaction must be synchronized.  
This model uses a parallel region to perform the computation.  A second window displays a histogram showing how may spin flips are performed by each thread.

The Ising 2D Spatial Decomposition Model was developed using the Easy Java Simulations (Ejs) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.  Double clicking the jar file will run the program if Java is installed.

Published October 14, 2013
Last Modified October 18, 2017

This file has previous versions.

Primary Documents

Parallel Programming Tutorial 

A step-by-step introduction to parallel programming in Java using EJS.

Last Modified December 22, 2017

This file is included in the full-text index.

Source Code Documents

Ising 2D Spatial Decomposition Source Code 

The source code zip archive contains an XML representation of the Ising 2D Spatial Decomposition Model.   Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified October 18, 2017

This file has previous versions.

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics