Skip to content

Add spherical and cylindrical support #10

Description

@viljarjf

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions