Loading [MathJax]/extensions/tex2jax.js
PeTar
N-body code for collisional gravitational systems
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Introduction

This document provides detailed descriptions of PeTar's source codes, including the functionality, usage, and argument descriptions for each class and function. Developers interested in modifying the PeTar codes may find useful information here. For using PeTar in simulations, please refer to the README.md.

Note that PeTar relies on the external libraries FPDS and SDAR. For details about these two codes, please refer to the official documentation provided on their GitHub pages.

The majority of PeTar code is written in C++ classes, with each class representing a function or data type. The main class, PeTar, is defined in petar.hpp. Users can begin with this class to grasp the main structure of the code.