Castro solves the equations of hydrodynamics on an adaptive grid, with support for a general equation of state, nuclear reaction networks, rotation, and full self-gravity. Radiation hydrodynamics through a multigroup flux-limited diffusion approximation is also supported.learn more
Castro is built on the BoxLib adaptive mesh refinement library, and uses an advance MPI + tiled OpenMP approach to parallelism to get great performance on modern architectures. It scales from 1 to 100,000 cores, and is run at most national supercomputing facilities.learn more
Castro has been used for scientific explorations of Type Ia supernovae (the Chandra, sub-Chandra, and merging white dwarf scenarios), core-collapse supernovae, and pair instability supernovae.learn more
git clone https://github.com/BoxLib-Codes/BoxLib.git git clone https://github.com/BoxLib-Codes/Castro.git git clone https://github.com/BoxLib-Codes/Microphysics.git
export CASTRO_HOME=/path/to/Castro export BOXLIB_HOME=/path/to/BoxLib export MICROPHYSICS_HOME=/path/to/Microphysics export BOXLIB_USE_MPI_WRAPPERS=1
cd Castro/Exec/Sedov/ make DIM=2
Additional physics capabilities are provided by the CastroRadiation and Microphysics git repositories.