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

Switch to external FreeQDSK for *qdsk reading/writing #85

Merged
merged 2 commits into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/input_and_output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ To convert a G-EQDSK file directly to DivGeo without any solves, and
without needing to know the coil locations, use the low-level
routines::

from freegs import _geqdsk
from freegdsk import geqdsk
ZedThree marked this conversation as resolved.
Show resolved Hide resolved
from freegs import _divgeo

with open("input.geqdsk") as f:
data = _geqdsk.read(f)
data = geqdsk.read(f)

with open("output.equ", "w") as f:
_divgeo.write(data, f)
Expand Down
329 changes: 0 additions & 329 deletions freegs/_aeqdsk.py

This file was deleted.

2 changes: 1 addition & 1 deletion freegs/_divgeo.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""
import numpy as np

from ._fileutils import ChunkOutput, write_1d, write_2d
from freeqdsk._fileutils import ChunkOutput, write_1d, write_2d


def write(data, fh, label=None):
Expand Down
Loading