A rust based relativistic pseudo-spectral PIC method
This is still very much a work in progress but can correctly model unmagnetized shocks
To run install rust https://www.rust-lang.org/tools/install
clone this repo. cd to the main directory (one with config.toml
). Edit config.toml
as you see fit, and then
cargo run --release
By default the code is in single precision, but if you want it to run in double precision
cargo run --release --features dprec
I also memory "unsafe" code but provide runtime assertions that prove memory safety is not violated. If you don't want
have that very small runtime overhead you can run it as
cargo run --release --features "dprec unchecked"