Skip to content

Tags: proximafusion/vmecpp

Tags

v0.4.3

Toggle v0.4.3's commit message
Added details to VmecInput documentation

v0.4.2

Toggle v0.4.2's commit message
FORTRAN_MISSING_VARIABLES moved to test cases (#311)

Automatically iterate over model_fields (which does not include any extra fields when present) when converting between cpp and json.

Adding new output quantities is significantly easier now and only requires adding the field to `VmecWOut` on the Python side. Serialization and deserialization will then immediately pick up on it.

v0.4.1

Toggle v0.4.1's commit message
Pass Magnetic response table to Python layer by reference

v0.4.0

Toggle v0.4.0's commit message
HDF5 compatibility with old versions

v0.3.5

Toggle v0.3.5's commit message
Default initializer for VmecInput (reads values from VmecINDATAPyWrap…

…per) (#260)

### What changed?

- Added a custom `__init__` method to `VmecInput` class that initializes default values from the C++ `VmecINDATAPyWrapper` class when no arguments are provided

### Why make this change?
**Pro:**
- Enables a "pure Python workflow", where the user doesn't have to load any input file. `VmecInput` can be comfortably constructed in a script, without providing explicit defaults for **all quantities**.

**Con:**
- Defaults aren't clearly visible for Python users without constructing and inspecting the object.
- only passing a few arguments and defaulting the rest isn't supported, which may be desirable too.

Alternative: Explicitly default all fields to the same as VmecINDATAPyWrapper

v0.3.4

Toggle v0.3.4's commit message
Trigger docker action on release

v0.3.3

Toggle v0.3.3's commit message
create venv after checkout

v0.3.2

Toggle v0.3.2's commit message
Remove HDF5 unit test (deprecated)

v0.3.1

Toggle v0.3.1's commit message
GCC already includes OpenMP headers on manylinux

v0.3.0

Toggle v0.3.0's commit message
Made lasym specific terms std::optional and Optional in Python

Update __init__.py

Apply suggestions from code review