Exawind / amr-wind

AMReX-based structured wind solver
https://exawind.github.io/amr-wind
Other
103 stars 78 forks source link

Fix diagnostic behavior (maximum velocity, MAC velocity) on GPUs #1064

Closed mbkuhn closed 1 month ago

mbkuhn commented 1 month ago

Summary

The unit test for the diagnostics on multiple levels was not passing on GPUs; the solution is to alter the way masking is used within the functions that find the max velocity.

Pull request type

Checklist

The following is included:

This PR was tested by running:

Issue Number: #1063