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

fix openmp race conditions in diag #455

Closed zingale closed 3 months ago

zingale commented 3 months ago

there are a few regions where it appears we need a critical block

zingale commented 3 months ago

addresses #454

zingale commented 3 months ago

tests pass: http://groot.astro.sunysb.edu/MAESTROeX/test-suite/gfortran/2024-05-15-001/index.html