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

test coverage for LineCurrentFreeSpace #44

Closed
lheagy opened this issue May 16, 2022 · 1 comment
Closed

test coverage for LineCurrentFreeSpace #44

lheagy opened this issue May 16, 2022 · 1 comment

Comments

@lheagy
Copy link
Member

lheagy commented May 16, 2022

It appears that the only testing for the LineCurrentFreeSpace is just in the documentation, it would be good to have tests that check accuracy as well. Here are a couple of ideas:

  • use a small segment (1m) and compare with the electric dipole in a whole space (away from that)
  • use a small closed loop (say 1m x 1m) and compare with a magnetic dipole in a whole space (again away from it)

It will take a bit of care to choose appropriate distances and tolerances, but I suspect that at about 10m the solutions should be nearly identical, and these could be tested for each orientation

@jcapriot
Copy link
Member

addressed in #76

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