Education Prize Logo
Science SPORE Prize
November 2011

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

Random Walk Models with Parallel Programming Documents

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

Main Document

Random Walk: Parallel Loop Implementation 

written by Wolfgang Christian and Francisco Esquembre

A example of how to use a Parallel Loop to simultaneously compute N random walks using multiple Java threads.

Published October 2, 2017
Last Modified October 7, 2017

This file has previous versions.

Primary Documents (3)

Random Walk: Synchronized Parallel Region Implementation 

A random walk on a lattice simulations that uses a Parallel Region that has been synchronized with the Model using the Final code page.

Last Modified October 7, 2017

This file has previous versions.

Random Walk: Unsynchronized Parallel Region Implementation 

A random walk simulation implemented with a Parallel Region.  Because the threads are not synchronized, each walk may have a different length.

Last Modified October 3, 2017

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.
This file has previous versions.

Supplemental Documents

Copy of Random Walk with Parallel Region 

Test of supplemental document source code.

Last Modified October 7, 2017

Source Code Documents (3)

Random Walk Parallel Loop Source Code 

The source code zip archive contains an EJS-XML representation of the Parallel Loop implementation of the Parallel Walk Model.   Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified October 7, 2017

This file has previous versions.

Random Walk Parallel Region Source Code 

The source code zip archive contains an EJS-XML representation of the Parallel Region implementation of the Random Walk Model.   Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified October 7, 2017

Random Walk Synchronized Parallel Region Source Code 

The source code zip archive contains an EJS-XML representation of the Parallel Region with Final Region Synchronization of the Random Walk Model.   Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified October 7, 2017

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