Nearly all of today's processors are multicore, and ideally programming and algorithm development utilizing the entire processor should be introduced early in the computational physics curriculum. Parallel programming is often not introduced because it requires a new programming environment and uses constructs that are unfamiliar to many teachers. We describe how we decrease the barrier to parallel programming by using a java-based programming environment to treat problems in the usual undergraduate curriculum. We use the easy java simulations programming and authoring tool to create the program's graphical user interface together with objects based on those developed by Kaminsky [Building Parallel Programs (Course Technology, Boston, 2010)] to handle common parallel programming tasks. Shared-memory parallel implementations of physics problems, such as time evolution of the Schrödinger equation, are available as source code and as ready-to-run programs from the AAPT-ComPADRE digital library.
Skip Nav Destination
Article navigation
January 2018
COMPUTATIONAL PHYSICS|
January 01 2018
Parallel programming with Easy Java Simulations
F. Esquembre;
F. Esquembre
a)
Departamento de Matemáticas, Campus de Espinardo, Apartado de Correos 4021, Universidad de Murcia
, 30071 Murcia, Spain
Search for other works by this author on:
W. Christian;
W. Christian
b)
Department of Physics, Davidson College
, Davidson, North Carolina 28035
Search for other works by this author on:
M. Belloni
M. Belloni
c)
Department of Physics, Davidson College
, Davidson, North Carolina 28035
Search for other works by this author on:
b)
Electronic mail: wochristian@davidson.edu
c)
Electronic mail: mabelloni@davidson.edu
Am. J. Phys. 86, 54–67 (2018)
Article history
Received:
July 17 2017
Accepted:
November 01 2017
Citation
F. Esquembre, W. Christian, M. Belloni; Parallel programming with Easy Java Simulations. Am. J. Phys. 1 January 2018; 86 (1): 54–67. https://doi.org/10.1119/1.5012510
Download citation file:
Sign in
Don't already have an account? Register
Sign In
You could not be signed in. Please check your credentials and make sure you have an active account and try again.
Pay-Per-View Access
$40.00
Citing articles via
Playing with active matter
Angelo Barona Balda, Aykut Argun, et al.
A simple model of a gravitational lens from geometric optics
Bogdan Szafraniec, James F. Harford
The physics of “everesting” on a bicycle
Martin Bier
The hardest-hit home run?
Donald C. Warren
Related Content
The Physlet Approach to Simulation Design
Phys. Teach. (October 2015)
A Simple Interactive Software Package for Plotting, Animating, and Calculating
Phys. Teach. (October 2012)
Augmenting AJP articles with computer simulations
American Journal of Physics (September 2010)
Graphs and Tracks Revisited
Phys. Teach. (April 2013)
Modeling Physics with Easy Java Simulations
The Physics Teacher (November 2007)