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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
W. Benz and E. Asphaug. Catastrophic Disruptions Revisited. Icarus, 142: 5–20, November 1999.
Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. Design Patterns: elements of reusable object-oriented software. Addison-Wesley, 1995. 22nd Printing July 2001.
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.
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.
W. Kley. Mass flow and accretion through gaps in accretion discs. Monthly Notices of the Royal Astronomical Society, 303(4): 696–710, March 1999.
L. B. Lucy. A numerical approach to the testing of the fission hypothesis. The Astronomical Journal, 82(12): 1013–1024, 1977.
M. Mayor and D. Queloz. A Jupiter-mass companion to a solar-type star. Nature, 378: 355–359, 1995.
MPI-IO Committee. A Parallel File I/O Interface for MPI. Online. URL: http://lovelace.nas.nasa.gov/MPI-IO, 1996.
F. Ott and E. Schnetter. A modified SPH approach for fluids with large density differences. ArXiv Physics e-prints, pages 3112–+, March 2003.
M. A. C. Perryman. Extra-solar planets. Reports on Progress in Physics,63(8): 1209–1272, 2000.
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.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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