PTsolvers / Chmy.jl

Finite differences and staggered grids on CPUs and GPUs
https://ptsolvers.github.io/Chmy.jl/
MIT License
21 stars 4 forks source link

Add masked operators #20

Closed utkinis closed 6 months ago

utkinis commented 6 months ago

This PR extends the existing GridOperators API with new functions to compute masked derivatives, where each operand is premultiplied with a mask at corresponding grid location.

luraess commented 6 months ago

Thanks a lot 🚀