AMReX-Astro / Emu

Emu is a neutrino quantum kinetics simulation code based on the particle in cell method and parallelized for CPU or GPU supercomputing architectures.
Other
10 stars 3 forks source link

Added descriptive amrex::Error messages in generate_code.py #53

Closed nmford20 closed 3 years ago

nmford20 commented 3 years ago

closes #37 : Swtiched amrex::Abort to amrex::Error with descriptive error message

srichers commented 3 years ago

Looks great! I think it could be made better if we also print out the two numbers, i.e. the error and the number (e.g. 100*maxerror) that it is comparing to. Would you be able to add that in the printout and push to your feature branch on your fork? It should automatically update the PR.