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

Add spherical and cylindrical support #10

Open
viljarjf opened this issue Feb 1, 2023 · 0 comments
Open

Add spherical and cylindrical support #10

viljarjf opened this issue Feb 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@viljarjf
Copy link
Owner

viljarjf commented Feb 1, 2023

Might be as simple as changing the finite difference nabla, but I doubt it. The array flattening of the input space might make this implementation very tricky. It is also unlikely that the performance gain of accessing and adding the potential directly to the underlying data is not possible with a spherical nabla.

3D and 2D would be nice.

A possible solution would be to accept a potential in spherical/cylindrical coordinates, and supply functionality to transform that to a cartesian grid before passing that to the solver.

@viljarjf viljarjf added the enhancement New feature or request label Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant