Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
/ SciCom22 Public archive

simulating the relativistic three-body-problem for fun and profit

Notifications You must be signed in to change notification settings

firelilith/SciCom22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies

To run this project, a current version of Python 3 as well as Rust are needed. For instructions, see

https://wiki.python.org/moin/BeginnersGuide/Download
https://www.rust-lang.org/tools/install

Install

To install, first clone this repository and cd into it:

git clone https://github.com/thatGuySpectre/SciCom22
cd SciCom22

It is recommended to use a virtual python environment:

python3 -m venv venv/
source venv/bin/activate

Then install poetry, to install dependencies

pip install poetry
poetry install
pip install .

You can now import the module scicom in python files within the venv, or call default examples in /tests directly.

Usage

This module provides several ways to simulate gravitational interactions, as well as visualisation options.

To start a simulation, you need to provide starting conditions in a YAML file. Several examples are provided in scicom/presets.

About

simulating the relativistic three-body-problem for fun and profit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published