A nuclear reaction network code for astrophysical applications
http://eagle.phys.utk.edu/xnet/trac/ โ// momentum
// why it's here
- Active: last commit today
- Health 83/100 with only 16 stars
- Around since 2019 and still shipping
// how to help
// readme
XNet
XNet is a thermonuclear reaction network for astrophysical nucleosynthesis, written in portable Fortran. It evolves nuclear abundances for an arbitrary species set using implicit Backward Euler or Gear BDF integration and selectable dense or sparse linear-algebra backends, across laptops, multicore CPUs (MPI and OpenMP), and GPUs (CUDA/OpenACC and HIP/OpenMP target).
XNet supports two primary workflows:
- Standalone post-processing with
xnet, driven bycontrols.nmlfor thermodynamic trajectories such as Lagrangian tracer-particle histories. The build also providesxnsefor NSE calculations andnet_setupfor preparing networks. - Embedded library integration (
libxnetand thexnet_apiFortran module), for multiphysics codes such as CHIMERA and Flash-X.
See the v9 release notes and migration guide for what changed since v8.0, migration steps, and checked platform limits.
Building XNet
Run GNU Make from the repository root. The default GNU optimized build places
programs under build/GNU-OPT/bin/:
make -j