From 09518ea34afc4a5294fb15f4e694539696a1afa5 Mon Sep 17 00:00:00 2001 From: Antoine Baillod Date: Tue, 16 May 2023 14:53:47 +0200 Subject: [PATCH] solve stellarator benchmark issue --- .../1DOF_circularCrossSection_varyR0_targetVolume_spec.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/stellarator_benchmarks/1DOF_circularCrossSection_varyR0_targetVolume_spec.py b/examples/stellarator_benchmarks/1DOF_circularCrossSection_varyR0_targetVolume_spec.py index b0b2870ae..26448e2e7 100755 --- a/examples/stellarator_benchmarks/1DOF_circularCrossSection_varyR0_targetVolume_spec.py +++ b/examples/stellarator_benchmarks/1DOF_circularCrossSection_varyR0_targetVolume_spec.py @@ -53,6 +53,11 @@ print('rc:', surf.rc) print('zs:', surf.zs) +# Set the coordinate axis position +equil.axis['rac'][0] = 1 # R00 +equil.axis['rac'][1] = 0.1 # R10 +equil.axis['zas'][1] = 0.1 # Z10 + # Surface parameters are all non-fixed by default. You can choose # which parameters are optimized by setting their 'fixed' attributes. surf.fix_all()