Skip to main content

Efficient and Object-Oriented Libraries for Particle Simulations

  • Conference paper
  • 290 Accesses

Summary

We present two libraries for the parallel computation of particle simulations. One is the object-oriented library sph2000 written in C++, the other is ParaSPH, a library written in C, that supports hybrid architectures (clustered SMPs). They are portable and performant on a variety of parallel architectures with shared and distributed memory. We give details of the object-oriented design of sph2000, the parallelization of ParaSPH for hybrid architectures using MPI and OpenMP and discuss the speedups of the codes. Further, we give three examples of applications based on these libraries, which simulate protoplanetary discs, colliding rubber rings and the injection of diesel into a combustion chamber.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. W. Benz and E. Asphaug. Catastrophic Disruptions Revisited. Icarus, 142: 5–20, November 1999.

    Article  Google Scholar 

  2. Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. Design Patterns: elements of reusable object-oriented software. Addison-Wesley, 1995. 22nd Printing July 2001.

    Google Scholar 

  3. R. A. Gingold and J. J. Monaghan. Smoothed particle hydrodynamics: Theory and application to non-spherical stars. Monthly Notices of the Royal Astronomical Society, 181: 375–389, 1977.

    MATH  Google Scholar 

  4. J. P. Gray, J. J. Monaghan, and R. P. Swift. SPH elastic dynamics. Computer Methods in Applied Mechanics and Engineering, 190(49-50): 6641–6662, 2001.

    Article  MATH  Google Scholar 

  5. W. Kley. Mass flow and accretion through gaps in accretion discs. Monthly Notices of the Royal Astronomical Society, 303(4): 696–710, March 1999.

    Article  Google Scholar 

  6. L. B. Lucy. A numerical approach to the testing of the fission hypothesis. The Astronomical Journal, 82(12): 1013–1024, 1977.

    Article  Google Scholar 

  7. M. Mayor and D. Queloz. A Jupiter-mass companion to a solar-type star. Nature, 378: 355–359, 1995.

    Article  Google Scholar 

  8. MPI-IO Committee. A Parallel File I/O Interface for MPI. Online. URL: http://lovelace.nas.nasa.gov/MPI-IO, 1996.

    Google Scholar 

  9. F. Ott and E. Schnetter. A modified SPH approach for fluids with large density differences. ArXiv Physics e-prints, pages 3112–+, March 2003.

    Google Scholar 

  10. M. A. C. Perryman. Extra-solar planets. Reports on Progress in Physics,63(8): 1209–1272, 2000.

    Article  Google Scholar 

  11. R. Thakur, E. Lusk, and W. Gropp. Users Guide for ROMIO:, A High-Performance, Portable MPI-IO Implementation. In Technical Memorandum ANL/MCS-TM-234, Mathematics and Computer Science Division, Argonne National Laboratory, 1998.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ganzenmüller, S. et al. (2003). Efficient and Object-Oriented Libraries for Particle Simulations. In: Krause, E., Jäger, W., Resch, M. (eds) High Performance Computing in Science and Engineering ’03. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-55876-4_32

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-55876-4_32

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40850-5

  • Online ISBN: 978-3-642-55876-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics