Skip to content

Commit

Permalink
Merge pull request #52 from PrincetonUniversity/develop
Browse files Browse the repository at this point in the history
Merge version 13.01 into master
  • Loading branch information
Caoxiang Zhu committed Apr 29, 2020
2 parents 0505fd2 + 5d36052 commit 3190d2d
Show file tree
Hide file tree
Showing 16 changed files with 19,481 additions and 67 deletions.
18,484 changes: 18,484 additions & 0 deletions examples/hsx/coils.hsx

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions examples/hsx/hsx.focus

Large diffs are not rendered by default.

62 changes: 62 additions & 0 deletions examples/hsx/hsx.input
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
&focusin
IsQuiet = -1
IsSymmetric = 2

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

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

case_optimize = 1
IsNormalize = 0
IsNormWeight = 0
case_bnormal = 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
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
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

CG_maxiter = 200
CG_xtol = 1.000D-10
CG_wolfe_c1 = 1.000D-04
CG_wolfe_c2 = 0.9

HN_maxiter = 0
HN_xtol = 1.000D-08
HN_factor = 100.0

TN_maxiter = 0
TN_xtol = 1.000D-08
TN_reorder = 0
TN_cr = 0.1

case_postproc = 1
save_freq = 1
save_coils = 1
save_harmonics = 1
save_filaments = 0
/
63 changes: 63 additions & 0 deletions examples/hsx/plasma.boundary
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Nbmn Nfp Nbnf
59 4 0
#plasma boundary
# n m rbc rbs zbc zbs
0 0 1.213816000000000E+00 0.000000000000000E+00 0.000000000000000E+00 -0.000000000000000E+00
1 0 1.911196000000000E-01 0.000000000000000E+00 0.000000000000000E+00 -1.468863000000000E-01
2 0 1.952995000000000E-02 0.000000000000000E+00 0.000000000000000E+00 -1.752300000000000E-02
3 0 1.360851000000000E-03 0.000000000000000E+00 0.000000000000000E+00 -1.681899000000000E-03
4 0 1.870665000000000E-05 0.000000000000000E+00 0.000000000000000E+00 8.590711000000000E-05
-4 1 -4.445651000000000E-05 0.000000000000000E+00 0.000000000000000E+00 1.751788000000000E-05
-3 1 8.637400999999993E-05 0.000000000000000E+00 0.000000000000000E+00 -2.351301000000001E-04
-2 1 -9.575814999999990E-04 0.000000000000000E+00 0.000000000000000E+00 -9.009743999999992E-04
-1 1 5.540608999999999E-03 0.000000000000000E+00 0.000000000000000E+00 4.981497000000002E-03
0 1 1.321890000000000E-01 0.000000000000000E+00 0.000000000000000E+00 1.444452000000000E-01
1 1 -5.486133999999999E-02 0.000000000000000E+00 0.000000000000000E+00 6.538344000000000E-02
2 1 -1.790056000000000E-02 0.000000000000000E+00 0.000000000000000E+00 1.604201000000000E-02
3 1 -1.084437000000000E-03 0.000000000000000E+00 0.000000000000000E+00 9.356806000000001E-04
4 1 2.530983000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -2.800369000000000E-04
-4 2 -5.907959000000001E-05 0.000000000000000E+00 0.000000000000000E+00 1.239330000000000E-04
-3 2 -6.904316999999998E-05 0.000000000000000E+00 0.000000000000000E+00 -1.189940000000000E-04
-2 2 -3.324583999999992E-04 0.000000000000000E+00 0.000000000000000E+00 -2.713298000000010E-04
-1 2 1.023463000000000E-03 0.000000000000000E+00 0.000000000000000E+00 5.988166999999993E-04
0 2 -3.536963000000000E-04 0.000000000000000E+00 0.000000000000000E+00 3.058589000000000E-03
1 2 7.681691000000000E-03 0.000000000000000E+00 0.000000000000000E+00 9.103360000000000E-03
2 2 1.649166000000000E-02 0.000000000000000E+00 0.000000000000000E+00 -1.592890000000000E-02
3 2 1.440479000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -4.620322000000000E-04
4 2 -9.296339000000000E-04 0.000000000000000E+00 0.000000000000000E+00 1.019783000000000E-03
-4 3 7.511137999999999E-05 0.000000000000000E+00 0.000000000000000E+00 -7.587650000000000E-05
-3 3 -5.430440000000001E-05 0.000000000000000E+00 0.000000000000000E+00 5.827359000000000E-05
-2 3 1.113542999999998E-04 0.000000000000000E+00 0.000000000000000E+00 -1.120531000000000E-04
-1 3 -1.805940000000001E-04 0.000000000000000E+00 0.000000000000000E+00 1.874965999999999E-04
0 3 -5.334693000000000E-04 0.000000000000000E+00 0.000000000000000E+00 3.821586999999999E-04
1 3 3.871315000000000E-03 0.000000000000000E+00 0.000000000000000E+00 -5.355818000000000E-03
2 3 -2.495571000000000E-03 0.000000000000000E+00 0.000000000000000E+00 2.076527000000000E-03
3 3 -1.947797000000000E-04 0.000000000000000E+00 0.000000000000000E+00 1.698400000000000E-04
4 3 1.990494000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -1.924675000000000E-04
-4 4 1.409162999999958E-07 0.000000000000000E+00 0.000000000000000E+00 -1.157919999999997E-05
-3 4 1.521459999999998E-05 0.000000000000000E+00 0.000000000000000E+00 -1.209266999999999E-05
-2 4 6.540628000000015E-06 0.000000000000000E+00 0.000000000000000E+00 -1.036116999999994E-05
-1 4 -3.207930000000007E-05 0.000000000000000E+00 0.000000000000000E+00 5.861970999999988E-05
0 4 3.909954000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -6.042632000000000E-04
1 4 -1.503213000000000E-03 0.000000000000000E+00 0.000000000000000E+00 1.414359000000000E-03
2 4 2.738293000000000E-04 0.000000000000000E+00 0.000000000000000E+00 1.752456000000000E-03
3 4 -2.868760000000000E-04 0.000000000000000E+00 0.000000000000000E+00 3.247560000000000E-04
4 4 -8.450892000000000E-04 0.000000000000000E+00 0.000000000000000E+00 7.232506000000000E-04
-4 5 -3.789326000000000E-05 0.000000000000000E+00 0.000000000000000E+00 5.746128999999999E-05
-3 5 2.617819000000000E-05 0.000000000000000E+00 0.000000000000000E+00 -4.076829999999999E-05
-2 5 -1.478922999999851E-07 0.000000000000000E+00 0.000000000000000E+00 2.910149000000002E-05
-1 5 -5.510262000000005E-05 0.000000000000000E+00 0.000000000000000E+00 7.398086000000023E-06
0 5 -8.345808000000001E-05 0.000000000000000E+00 0.000000000000000E+00 -3.520731000000000E-05
1 5 8.040391000000000E-04 0.000000000000000E+00 0.000000000000000E+00 3.917974000000000E-04
2 5 -3.094764000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -2.830674000000000E-04
3 5 -1.565252000000000E-04 0.000000000000000E+00 0.000000000000000E+00 1.092705000000000E-04
4 5 4.371743000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -3.864337000000001E-04
-4 6 2.205465999999999E-05 0.000000000000000E+00 0.000000000000000E+00 -1.973957000000001E-05
-3 6 -2.731436000000005E-05 0.000000000000000E+00 0.000000000000000E+00 3.270838999999991E-05
-2 6 2.869525999999997E-05 0.000000000000000E+00 0.000000000000000E+00 -2.535663999999998E-05
-1 6 -2.263614999999998E-05 0.000000000000000E+00 0.000000000000000E+00 4.720291999999995E-06
0 6 1.791886000000000E-04 0.000000000000000E+00 0.000000000000000E+00 1.740566000000000E-05
1 6 -7.832604000000000E-04 0.000000000000000E+00 0.000000000000000E+00 2.069499000000000E-04
2 6 5.416867000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -8.337610000000000E-04
3 6 6.357634000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -7.565796000000000E-04
4 6 -1.020835000000000E-04 0.000000000000000E+00 0.000000000000000E+00 -2.077120000000000E-04
Loading

0 comments on commit 3190d2d

Please sign in to comment.