TeamAtomECS / AtomECS

Cold atom simulation code
GNU General Public License v3.0
46 stars 12 forks source link
amop atoms ecs laser-cooling physics

AtomECS

Simulate cold atoms with rust.

Paper out now on arxiv

NOTE: Work is ongoing to change the backend from specs to bevy - see the bevy branch and this issue for details! You can also run a number of demos from the bevy branch in your browser here.

crate_version crate_version build unit_tests

atomecs is a rust crate for simulating ultracold atom experiments. It supports numerous features:

Getting Started

Instructions for installing rust can be found on the rust website, which includes the rust toolchain and cargo command line tool.

After cloning this repository using git, you can run examples using the cargo command line tool, e.g. cargo run --release --example 1d_mot. The matlab examples show how to load and plot simulation results.

You can build the program documentation using cargo doc.

Data-oriented design

atomecs follows the data-oriented Entity-Component-System (ECS) pattern, which is implemented using specs. ECS is well suited to high-performance simulations, and is sufficiently flexible to accomodate changing design goals.

If you are unfamiliar with data-oriented design - for instance, if you come from an object-oriented background - it is strongly recommended that you read up before diving into the code. Some useful ECS resources are:

Current Limitations

Getting Involved

Our goal is to make AtomECS user-friendly, with friendly developers! Please feel free to use the issue tracker to ask questions, or join the conversations happening within the issues.

If you would like to submit a contribution:

The Team

The current developers of atomecs are:

The long term goal for atomecs is to have a complete simulation suite for cold atom experiments. If you'd like to get involved in development, please do!