Metadata-Version: 2.1
Name: abscab
Version: 1.0.0
Summary: Accurate Biot-Savart routines with Correct Asymptotic Behaviour
Author-email: Jonathan Schilling <jonathan.schilling@mail.de>
License: Apache 2.0
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy

# Accurate Biot-Savart routines with Correct Asymptotic Behaviour
<img src="abscab_logo.png" alt="ABSCAB logo" width="200" align="right"/>

This library can be used to compute the magnetic field and the magnetic vector potential
of filamentary current carriers in the form of a circular loop and straight segments.
Arbitrary geometries of conductors can be approximated by a polygon along its contour
and the connecting segments between the polygon vertices are modeled by straight segments.
Finite-width conductors can be approximated by arranging multiple filaments
throughout the cross section of the current carrier.

Please consider leaving a GitHub star if you like this software.

If you use this software for scientific work,
we kindly ask you to cite [the corresponding article](https://doi.org/10.1016/j.cpc.2023.108692):
```bibtex
@article{abscab_2023,
  title  = {{Biot-Savart routines with minimal floating point error}},
  author = {Jonathan Schilling and Jakob Svensson and Udo Höfel and Joachim Geiger and Henning Thomsen},
  journal = {Computer Physics Communications},
  pages = {108692},
  year = {2023},
  issn = {0010-4655},
  doi = {10.1016/j.cpc.2023.108692}
}
```

This is the Python implementation of [ABSCAB](https://github.com/jonathanschilling/abscab).

| description         | link to file |
| ------------------- | --------------------------------------------------------- |
| main implementation | [`abscab.py`](abscab/_abscab.py)          |
| unit tests          | [`test_abscab.py`](test/abscab/test_abscab.py) |
| demo code           | [`demo_abscab.py`](test/abscab/demo_abscab.py) |
| parallelized        | :heavy_multiplication_x:                                  |
