omlins / ParallelStencil.jl

Package for writing high-level code for parallel high-performance stencil computations that can be deployed on both GPUs and CPUs
BSD 3-Clause "New" or "Revised" License
311 stars 31 forks source link

Add macro to compute harmonic averages #57

Closed albert-de-montserrat closed 2 years ago

albert-de-montserrat commented 2 years ago

Adds the set of macros @harm to compute harmonic averages in 1/2/3D grids. This family of macros is analogous to the @av one.