Skip to content

Commit

Permalink
Rename k0 to curv_k0 in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
krystophny authored Aug 21, 2024
1 parent be28c10 commit 0571446
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions examples/hsx/hsx.input
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
&focusin
IsQuiet = -1
IsSymmetric = 2
IsQuiet = -1
IsSymmetric = 2

case_surface = 0
case_surface = 0
knotsurf = 0.200D-00
ellipticity = 0.000D+00
Nteta = 128
Nzeta = 256
Nteta = 128
Nzeta = 256

case_init = 0
case_coils = 1
Ncoils = 48
init_current = 1.000D+06
init_current = 1.000D+06
init_radius = 0.300D+00
IsVaryCurrent = 0
IsVaryGeometry = 1
NFcoil = 16
IsVaryCurrent = 0
IsVaryGeometry = 1
NFcoil = 16
Nseg = 384

case_optimize = 1
IsNormalize = 0
IsNormWeight = 0
case_bnormal = 1
case_length = 1
case_length = 1
case_curv = 3 ! Penalty function for curvature
k0 = 1.000D+01 ! Maximum curvature constraint
curv_alpha = 2.000D+00 ! Exponent for curvature constraint violations
curv_k0 = 1.000D+01 ! Maximum curvature constraint
curv_alpha = 2.000D+00 ! Exponent for curvature constraint violations
weight_bnorm = 1.000D+04
weight_bharm = 0.000D+00
weight_tflux = 0.000D-05
target_tflux = -0.039418D+00
weight_ttlen = 1.000D+03
target_length = 2.400D+00
target_length = 2.400D+00
weight_specw = 0.000D+00
weight_curv = 5.000D+00

DF_tausta = 0.000D+00
DF_tauend = 1.000D-00
DF_maxiter = 0
DF_xtol = 1.000D-10
DF_xtol = 1.000D-10

CG_maxiter = 200
CG_xtol = 1.000D-10
Expand All @@ -56,7 +56,7 @@

case_postproc = 1
save_freq = 1
save_coils = 1
save_coils = 1
save_harmonics = 1
save_filaments = 0
save_filaments = 0
/
2 changes: 1 addition & 1 deletion examples/w7x_std_30/w7x_std_30.input
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
CASE_LENGTH = 1,
CASE_CURV = 3,
CURV_ALPHA = 2.00000000000000 ,
K0 = 10.000000000000000E+000,
CURV_K0 = 10.000000000000000E+000,
WEIGHT_BNORM = 1.00000000000000 ,
BHARM_JSURF = 0,
WEIGHT_BHARM = 0.000000000000000E+000,
Expand Down

0 comments on commit 0571446

Please sign in to comment.