Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Object-oriented plasma PIC simulations in Fortran 90 and C++ on MPP`s

Conference ·
OSTI ID:559996
 [1];  [2];  [3]
  1. Univ. of California, Los Angeles, CA (United States)
  2. NASA Jet Propulsion Lab., Pasadena, CA (United States)
  3. Rensselaer Polytechnic Institute, Troy, NY (United States)

One goal of the Numerical Turbulent Transport Project is to model a tokamak (fusion) plasma, with 10{sup 8} - 10{sup 9} particles, to explain anomalous transport of particles and energy. Since this ambitious HPCC Project involves multiple institutions and multidisciplinary collaborations, several project members have been investigating object-oriented techniques for designing complex particle-in-cell (PIC) codes. We compare our experiences in object-oriented programming using Fortran 90 and C++ in this application. Our Fortran 90 programs axe faster than the equivalent C++ versions, yet the abstraction modeling capabilities are comparably powerful.

OSTI ID:
559996
Report Number(s):
CONF-970443--
Country of Publication:
United States
Language:
English