AMReX-Astro / Castro

Castro (Compressible Astrophysics): An adaptive mesh, astrophysical compressible (radiation-, magneto-) hydrodynamics simulation code for massively parallel CPU and GPU architectures.
http://amrex-astro.github.io/Castro
Other
298 stars 97 forks source link

template Riemann solvers on idir #2718

Open zingale opened 7 months ago

zingale commented 7 months ago

We have a lot of branching logic in the Riemann solvers that checks the direction, idir. These can easily be eliminated via templating.

jvr0123 commented 5 months ago

.take