Autodesk / XLB

XLB: Accelerated Lattice Boltzmann (XLB) for Physics-based ML
Other
237 stars 25 forks source link

somewhat improved bc handling in Warp using structs #52

Closed hsalehipour closed 3 months ago

hsalehipour commented 4 months ago

This PR is to get rid of initializing all BC methods inside self for stepper and uses a Warp struct that is passed into the kernels. The code may still improved ? but to me it looks like further improvements are for now limited by Warp inability to handle lists inside kernel.

It would be nice to have @loliverhennigh also take a look at this. I was not able to assign him as a reviewer to this RP.