Skip to content

danieljprice/phantom

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

852b0cb · Feb 3, 2022
Feb 3, 2022
Feb 14, 2017
Jan 17, 2022
Aug 27, 2021
Jan 31, 2022
Nov 26, 2021
Feb 2, 2022
Sep 11, 2020
Jul 16, 2020
Jan 17, 2022
Jul 3, 2020
Feb 22, 2019
Jan 17, 2022
Aug 30, 2019
Feb 6, 2019
Dec 16, 2019
Oct 8, 2020

Repository files navigation

Phantom

The Phantom Smoothed Particle Hydrodynamics code

About

Phantom is a 3D Smoothed Particle Hydrodynamics and Magnetohydrodynamics code for astrophysics. It was written and developed by Daniel Price with contributions from many others (see AUTHORS). It is designed to be a fast 3D SPH code with a low memory footprint, for production runs. It is not a code for testing algorithms (use NDSPMHD instead).

Status

testkd test2 testcyl mpi GR dust dust growth non-ideal mhd utils

Links

Code structure

The Phantom source code is structured as follows:

build/Makefile main Makefile for compiling Phantom and all utilities
src/main source for main code
src/setup source for Phantomsetup utility
src/tests source for unit tests and the Phantom testsuite
src/utils source for optional utilities and analysis

Getting help

If you need help, please try the following, in order:

  1. Check the documentation.
  2. File an issue, as a bug report or feature request, using the issue tracker.

Contributing

We welcome contributions, including (but not limited to):

  1. Code, via pull request. Please read developer section of user guide for guidelines.
  2. Documentation, also by pull request. Docs can be edited in the docs/ directory of the main code.
  3. Suggestions for features or bug reports, via the issue tracker. Please file bugs via github rather than by email.

Slack

We welcome general discussion about Phantom, Smoothed Particle Hydrodynamics, and astrophysics at the Phantom Slack.

Citation

Please cite Price et al. (2018) when using Phantom. Wherever possible, please try to also cite original references for the algorithms you are using. A partial list can be found in docs/phantom.bib file, or by reading the relevant sections of the paper.

Licence

See LICENCE file for usage and distribution conditions.

Copyright (c) 2007-2020 Daniel Price and contributors (see AUTHORS file).

Release notes

For CHANGES see the release notes: https://phantomsph.readthedocs.io/en/latest/releasenotes.html.