Welcome to PySWIFTsim
This code is a python wrapper around the cosmological hydrodynamical code SWIFT hosted at https://gitlab.cosma.dur.ac.uk/swift/swiftsim.
You can find a few examples in test and examples and a documentation in docs.
Install
To install PySWIFT, you can run the following command: python3 setup.py install --with-swift SWIFT_PATH --user
.
The setup script will read all your parameters in the config file of swift, therefore you need to reinstall PySWIFT with each configuration of SWIFT.
You may need to remove the build directory to recompile PySWIFT.