Skip to content
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

Radial symmetric functions #7

Open
roflmaostc opened this issue Feb 10, 2023 · 2 comments
Open

Radial symmetric functions #7

roflmaostc opened this issue Feb 10, 2023 · 2 comments

Comments

@roflmaostc
Copy link
Member

I think in principle it is enough to calculate 1/8 of the array, not only one quadrant, right?

@RainerHeintzmann
Copy link
Member

Yes, you are in principle right (in 2D) yet it is unclear whether the speed improvement with such a 1/8 scheme would outweight the memory consistency and caching advantages of the quadrant scheme, but you are more than welcome to try this out.
For the copying of the last (outermost) dimension a 1D adressing scheme is (optionally) used, as this is a bit faster than the ND copy operation.

@roflmaostc
Copy link
Member Author

Depends on the function but in generell it should also perform better. (imagine a costly exp(ikr))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants