Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-g7gxr Total loading time: 0 Render date: 2024-11-06T00:18:52.794Z Has data issue: false hasContentIssue false

9 - Decision-making

Published online by Cambridge University Press:  18 August 2009

Sverre J. Aarseth
Affiliation:
University of Cambridge
Get access

Summary

Introduction

N-body simulations involve a large number of decisions and the situation becomes even more complex when astrophysical processes are added. The guiding principle of efficient code design must be to provide a framework for decision-making that is sufficiently flexible to deal with a variety of special conditions at the appropriate time. Since the direct approach is based on a star-by-star treatment at frequent intervals, this prerequisite is usually satisfied. However, we need to ensure that the relevant tests are not performed unnecessarily. The development of suitable criteria for changing the integration method or identifying procedures to be carried out does in fact require a deep understanding of the interplay between many different modes of interactions. Hence building up the network for decision-making is a boot-strapping operation needing much patience and experience. The aim of a good scheme should be that this part of the calculation represents only a small proportion of the total effort.

This chapter discusses several distinct types of decisions necessary for a smooth performance. First we deal with the important task of selecting the next particle, or block of particles, to be advanced in time. The challenge is to devise an optimized strategy in order to reduce the overheads. Another aspect concerns close encounters, either between single particles or where one or more subsystems already consist of binaries.

Type
Chapter
Information
Gravitational N-Body Simulations
Tools and Algorithms
, pp. 141 - 163
Publisher: Cambridge University Press
Print publication year: 2003

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Decision-making
  • Sverre J. Aarseth, University of Cambridge
  • Book: Gravitational N-Body Simulations
  • Online publication: 18 August 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511535246.010
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Decision-making
  • Sverre J. Aarseth, University of Cambridge
  • Book: Gravitational N-Body Simulations
  • Online publication: 18 August 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511535246.010
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Decision-making
  • Sverre J. Aarseth, University of Cambridge
  • Book: Gravitational N-Body Simulations
  • Online publication: 18 August 2009
  • Chapter DOI: https://doi.org/10.1017/CBO9780511535246.010
Available formats
×