Skip to content

EinsteinToolkit/AsterX

Repository files navigation

AsterX is a GPU-accelerated GRMHD code for dynamical spacetimes, written in C++. It is built on the CarpetX driver, which is designed for use with the Einstein Toolkit. CarpetX itself is based on AMReX, a software framework for block-structured adaptive mesh refinement (AMR).

GitHub CI
License: LGPL v3

Overview

  • Heavily derived from the GRMHD code Spritz
  • Solves the GRMHD equations in 3D Cartesian coordinates on dynamical spacetimes using high-resolution shock-capturing (HRSC) schemes
  • Based on the flux-conservative Valencia formulation
  • Directly evolves the staggered vector potential

Available Modules

  • AsterX – Core GRMHD module
  • AsterMasks – Provides masking functionality
  • AsterSeeds – Initial data module
  • AsterUtils – Utility functions
  • Con2PrimFactory – Conservative-to-primitive variable recovery routines
  • EOSX – Equation of state driver
  • FishboneMoncriefIDX – Initial data for Fishbone–Moncrief disks
  • ID_TabEOS_HydroQuantities – Initializes hydrodynamic quantities for tabulated EOS
  • ReconX – Reconstruction scheme module
  • TOVSolverX – Modified version of the TOVSolver thorn from the Einstein Toolkit

Getting Started

  • Instructions for downloading and building AsterX with the Einstein Toolkit are available here.
  • Simfactory files for various clusters and setup instructions can be found here.
  • Example Jupyter notebooks and plotting scripts are available here.

Useful Repositories

  • CarpetX – Next-generation driver for the Einstein Toolkit
  • SpacetimeX – Modules for spacetime evolution
  • BNSTools – Utilities supporting BNS merger simulations
  • nuX – Modules for an upcoming neutrino transport code

Code Papers

Related Talks and Tutorials

About

AsterX is a GPU-accelerated GRMHD code for dynamical spacetimes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 12