AMReX-Astro / MAESTROeX

A C++ low Mach number stellar hydrodynamics code
https://amrex-astro.github.io/MAESTROeX/
BSD 3-Clause "New" or "Revised" License
40 stars 22 forks source link

add some color to the output #463

Closed zingale closed 5 months ago

zingale commented 5 months ago

we might want to output some of the warnings in the base state stuff as orange, but right now, we manage those through the simple_log. See #464

zingale commented 5 months ago

this is what the output looks like with this PR:

image

biboyd commented 5 months ago

This looks good, outside those warnings there is an error message in MaestroBurner.cpp we might want to make red https://github.com/AMReX-Astro/MAESTROeX/blob/e714207d0d102435e876bc33b3a8c573c982ad70/Source/MaestroBurner.cpp#L193

zingale commented 5 months ago

updated the burner error

zingale commented 5 months ago

actually, should we really be using amrex::Print() in the burner? I think that code is run on all processors, so the processor that has the problem should output it.