Get the sources

Besides the sources of BornAgain you need those of our support libraries libheinz and libformfactor .

For a release build, download matching tarballs from the release pages of libheinz, libformfactor, and BornAgain. For development, use the main branches of the support libraries and the develop branch of BornAgain.

Source tarballs

The tar command allows downloading and unpacking development sources in one go:

wget -qO- https://jugit.fz-juelich.de/mlz/libheinz/-/archive/main/libheinz-main.tar.gz \
  | tar zx
wget -qO- \
  https://jugit.fz-juelich.de/mlz/libformfactor/-/archive/main/libformfactor-main.tar.gz \
  | tar zx
wget -qO- \
  https://jugit.fz-juelich.de/mlz/bornagain/-/archive/develop/bornagain-develop.tar.gz \
  | tar zx

Git

You can instead clone the public Git repositories:

git clone https://jugit.fz-juelich.de/mlz/libheinz.git
git clone https://jugit.fz-juelich.de/mlz/libformfactor.git
git clone --branch develop https://jugit.fz-juelich.de/mlz/bornagain.git