Skip to content

Commit

Permalink
🚚 Move to new eqdsk package (Fusion-Power-Plant-Framework#3416)
Browse files Browse the repository at this point in the history
* 🚚 Move to new eqdsk package

* πŸ› 17 -> 3

* 🎨 From_cocos_index -> from_cocos etc

* 🎨 Add full coil specification flag

* βœ… Fix tests based on eqdsk changes

* 🎨 Small changes

* πŸ‘½οΈ Fix based of eqdsk changes

* πŸ“ Qpsi docs

* Update eudemo/eudemo_tests/test_tf_coils.py

* πŸ› Fix fixed_boundary writer

* 🎨 Set default bluemira cocos as constant

* βœ… Fix tests

* ⬆️ Update eqdsk package version
  • Loading branch information
je-cook authored Jul 30, 2024
1 parent a01a038 commit 43f85bd
Show file tree
Hide file tree
Showing 37 changed files with 384 additions and 965 deletions.
3 changes: 1 addition & 2 deletions bluemira/equilibria/coils/_grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@

if TYPE_CHECKING:
import numpy.typing as npt
from eqdsk import EQDSKInterface
from matplotlib.axes import Axes

from bluemira.equilibria.file import EQDSKInterface


def symmetrise_coilset(coilset: CoilSet) -> CoilSet:
"""
Expand Down
6 changes: 3 additions & 3 deletions bluemira/equilibria/coils/_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@

from typing import TYPE_CHECKING

if TYPE_CHECKING:
from bluemira.equilibria.coils import CoilSet

import numpy as np

from bluemira.magnetostatics.greens import circular_coil_inductance_elliptic, greens_psi

if TYPE_CHECKING:
from bluemira.equilibria.coils import CoilSet


def make_mutual_inductance_matrix(coilset: CoilSet) -> np.ndarray:
"""
Expand Down
3 changes: 3 additions & 0 deletions bluemira/equilibria/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@
# Minimum discretisation of a coil [m], limit imposed to avoid massive memory
# usage
COIL_DISCR = 0.05

# bluemira default cocos
BLUEMIRA_DEFAULT_COCOS = 3
Loading

0 comments on commit 43f85bd

Please sign in to comment.