I added OpenMp simd-pragmas to the loops over moments in the moment filtering function that is run after theyre fed to fsgrid. I also changed a collapse(2) to a collapse(3) in the spatial loop over cells which sped it up slightly. Other changes I tested did not speed up the filtering. Overall in my testing these changes decreased filtering time by 20%.
I added OpenMp simd-pragmas to the loops over moments in the moment filtering function that is run after theyre fed to fsgrid. I also changed a collapse(2) to a collapse(3) in the spatial loop over cells which sped it up slightly. Other changes I tested did not speed up the filtering. Overall in my testing these changes decreased filtering time by 20%.