-
Notifications
You must be signed in to change notification settings - Fork 27
121 vico greengard discrete cosine transforms #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
121 vico greengard discrete cosine transforms #231
Conversation
…discrete-cosine-transforms
merge master into 121-vico-greengard-discrete-cosine-transforms
Share heffte type aliases and members
Define uniform type for fields Fix mixed execution FFTs Define enum to identify forward and backward FFTs
…ico-greengard-discrete-cosine-transforms
…b.com:vmontanaro/ippl into 121-vico-greengard-discrete-cosine-transforms Conflicts: test/solver/TestGaussian.cpp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a brief look at the code. I think there are many improvements and changes necessary. Some lines of code are duplicated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are still a few things to change.
// compute length of the physical domain | ||
// compute Fourier domain spacing | ||
for (unsigned int i = 0; i < Dim; ++i) { | ||
hs_m[i] = pi * 0.5 / l[i]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kokkos::pi
src/FFT/FFT.hpp
Outdated
*This copy to a temporary Kokkos view is needed because of following | ||
*reasons: | ||
*1) heffte wants the input and output fields without ghost layers | ||
*2) heffte accepts data in layout left (by default) eventhough this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eventhough -- > even though
No description provided.