Exawind / amr-wind

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

Add sampling of derived fields #1030

Closed marchdf closed 1 month ago

marchdf commented 2 months ago

Summary

Add ability to sample derived fields

Pull request type

Please check the type of change introduced:

Checklist

The following is included:

This PR was tested by running:

gpu_tests.txt cpu_tests.txt

Additional background

Closes: #999

marchdf commented 2 months ago

This triggered something I didn't foresee... the derived fields typically don't have grow cells. Which means that sampling (i.e. interpolation of a field to a particle) can reach beyond the box bounds and cause an OOB on the derived field. Going to have to fix this before this can go through.