Skip to content

Commit

Permalink
Merge pull request #68 from loganbvh/docs
Browse files Browse the repository at this point in the history
Docs
  • Loading branch information
loganbvh authored Jan 27, 2022
2 parents 86bf3b2 + 680f00d commit 9bbbcac
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
17 changes: 17 additions & 0 deletions docs/about/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ View release history on `PyPI <https://pypi.org/project/superscreen/#history>`_,
- Version 1.0.0 defines the public API.


Version 0.3.0
-------------

Release date: 2022-01-27

Changes
=======

- Use ``__slots__`` for ``Layers``, ``Polygons``, and ``Parameters`` (`#57 <https://github.com/loganbvh/superscreen/pull/57>`_).
- Add affine transformations for ``Polygon`` and ``Device``
(`#59 <https://github.com/loganbvh/superscreen/pull/60>`_, `#60 <https://github.com/loganbvh/superscreen/pull/60>`_).
- Allow ``Parameters`` to return scalar or vector quantities (`# 61 <https://github.com/loganbvh/superscreen/pull/61>`_).
- Allow explicitly setting ``num_cpus`` in ``solve_many()`` (`#62 <https://github.com/loganbvh/superscreen/pull/62>`_).
- Add ``SheetCurrentField`` source and move mesh generation into its own module to enable ``Polygon.make_mesh()``
(`#65 <https://github.com/loganbvh/superscreen/pull/65>`_).
- Use ``scipy.linalg.lu_solve()`` in ``superscreen.solve()`` instead of ``numpy.linalg.inv()`` (`#67 <https://github.com/loganbvh/superscreen/pull/67>`_).

Version 0.2.0 (initial development release)
-------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions superscreen/solve.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def solve_layer(
# Compute K only once if needed
K = -la.lu_solve((lu, piv), np.eye(A.shape[0]))
# Index of the mesh vertex that is closest to the vortex position:
# in the film-specific subarray
# in the film-specific sub-mesh
j_film = np.argmin(
np.sum(np.square(points[ix1d] - [[vortex.x, vortex.y]]), axis=1)
)
Expand Down Expand Up @@ -889,5 +889,5 @@ def _patch_docstring(func):
from .parallel import solve_many_serial, solve_many_mp, solve_many_ray # noqa: E402


for func in [solve_many_serial, solve_many_mp, solve_many_ray]:
for func in (solve_many_serial, solve_many_mp, solve_many_ray):
_patch_docstring(func)
2 changes: 1 addition & 1 deletion superscreen/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = (0, 2, 0)
__version_info__ = (0, 3, 0)
__version__ = ".".join(map(str, __version_info__))

0 comments on commit 9bbbcac

Please sign in to comment.