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

Bugfix in slab geometry when using Lconstraint=3, and output of stability variables #221

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@ jobs:
make BUILD_ENV=gfortran_ubuntu dspec
- name: run_fast_cartesian
run: |
cd ${SPEC_PATH}/ci/G1V03L2Fi
cd ${SPEC_PATH}/ci/G1V03L0Fi
export OMP_NUM_THREADS=1
mpiexec -n 2 --allow-run-as-root ${SPEC_PATH}/xspec G1V03L2Fi.001.sp
python3 -m py_spec.ci.test compare.h5 G1V03L2Fi.001.sp.h5
mpiexec -n 2 --allow-run-as-root ${SPEC_PATH}/xspec G1V03L0Fi.sp
python3 -m py_spec.ci.test compare.h5 G1V03L0Fi.sp.h5
- name: run_fast_cartesian_lcons3
run: |
cd ${SPEC_PATH}/ci/G1V03L3Fi
export OMP_NUM_THREADS=1
mpiexec -n 2 --allow-run-as-root ${SPEC_PATH}/xspec G1V03L3Fi.sp
python3 -m py_spec.ci.test compare.h5 G1V03L3Fi.sp.h5
- name: run_fast_cylinder
run: |
cd ${SPEC_PATH}/ci/G2V32L1Fi
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,16 @@ jobs:
# cmake --install .
- name: run_fast_cartesian
run: |
cd ${SPEC_PATH}/ci/G1V03L2Fi
cd ${SPEC_PATH}/ci/G1V03L0Fi
export OMP_NUM_THREADS=1
mpiexec -n 2 --allow-run-as-root $SPEC_PATH/install/bin/xspec G1V03L2Fi.001.sp
python3 -m py_spec.ci.test compare.h5 G1V03L2Fi.001.sp.h5
mpiexec -n 2 --allow-run-as-root $SPEC_PATH/install/bin/xspec G1V03L0Fi.sp
python3 -m py_spec.ci.test compare.h5 G1V03L0Fi.sp.h5
- name: run_fast_cartesian_lcons3
run: |
cd ${SPEC_PATH}/ci/G1V03L3Fi
export OMP_NUM_THREADS=1
mpiexec -n 2 --allow-run-as-root $SPEC_PATH/install/bin/xspec G1V03L3Fi.sp
python3 -m py_spec.ci.test compare.h5 G1V03L3Fi.sp.h5
- name: run_fast_cylinder
run: |
cd ${SPEC_PATH}/ci/G2V32L1Fi
Expand Down
121 changes: 0 additions & 121 deletions .gitlab-ci.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
109 changes: 109 additions & 0 deletions ci/G1V03L3Fi/G1V03L3Fi.sp
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
&physicslist
Igeometry = 1
Istellsym = 1
Lfreebound = 0
phiedge = 1.000000000000000E+00
curtor = 0.000000000000000E+00
curpol = 0.000000000000000E+00
gamma = 0.000000000000000E+00
Nfp = 1
Nvol = 3
Mpol = 1
Ntor = 0
Lrad = 12 12 12
tflux = 4.000000000000000E-01 6.000000000000001E-01 1.000000000000000E+00
pflux = -4.000000000000001E-02 -4.000000000000001E-02 0.000000000000000E+00
helicity = -8.673617379884035E-19 1.331565149512061E-03 1.734723475976807E-18
pscale = 0.000000000000000E+00
Ladiabatic = 0
pressure = 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00
adiabatic = 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00
mu = 0.000000000000000E+00 1.000000000000000E-01 0.000000000000000E+00
Lconstraint = 3
pl = 0 0 0 0
ql = 0 0 0 0
pr = 0 0 0 0
qr = 0 0 0 0
iota = -1.618000000000000E+00 -1.016882954640000E+00 -6.188295464000000E-01 6.188295464000000E-01
lp = 81 81 81 81
lq = 0 0 0 0
rp = 0 0 0 0
rq = 0 0 0 0
oita = -1.618000000000000E+00 -1.016882954640000E+00 -6.188295464000000E-01 6.188295464000000E-01
mupftol = 1.000000000000000E-16
mupfits = 8
Rac = 0.000000000000000E+00
Zas = 0.000000000000000E+00
Ras = 0.000000000000000E+00
Zac = 0.000000000000000E+00
Rbc(0,0) = 1.000000000000000E+01 Zbs(0,0) = 0.000000000000000E+00 Rbs(0,0) = 0.000000000000000E+00 Zbc(0,0) = 0.000000000000000E+00
Rbc(0,1) = 0.000000000000000E+00 Zbs(0,1) = 0.000000000000000E+00 Rbs(0,1) = 0.000000000000000E+00 Zbc(0,1) = 0.000000000000000E+00
Rbc(0,2) = 0.000000000000000E+00 Zbs(0,2) = 0.000000000000000E+00 Rbs(0,2) = 0.000000000000000E+00 Zbc(0,2) = 0.000000000000000E+00
Rwc(0,0) = 0.000000000000000E+00 Zws(0,0) = 0.000000000000000E+00 Rws(0,0) = 0.000000000000000E+00 Zwc(0,0) = 0.000000000000000E+00
Rwc(0,1) = 0.000000000000000E+00 Zws(0,1) = 0.000000000000000E+00 Rws(0,1) = 0.000000000000000E+00 Zwc(0,1) = 0.000000000000000E+00
Rwc(0,2) = 0.000000000000000E+00 Zws(0,2) = 0.000000000000000E+00 Rws(0,2) = 0.000000000000000E+00 Zwc(0,2) = 0.000000000000000E+00
Vns(0,0) = 0.000000000000000E+00 Bns(0,0) = 0.000000000000000E+00 Vnc(0,0) = 0.000000000000000E+00 Bnc(0,0) = 0.000000000000000E+00
Vns(0,1) = 0.000000000000000E+00 Bns(0,1) = 0.000000000000000E+00 Vnc(0,1) = 0.000000000000000E+00 Bnc(0,1) = 0.000000000000000E+00
Vns(0,2) = 0.000000000000000E+00 Bns(0,2) = 0.000000000000000E+00 Vnc(0,2) = 0.000000000000000E+00 Bnc(0,2) = 0.000000000000000E+00
/
&numericlist
Linitialize = 1
Lzerovac = 0
Ndiscrete = 2
Nquad = -1
iMpol = -4
iNtor = -4
Lsparse = 0
Lsvdiota = 0
imethod = 3
iorder = 2
iprecon = 1
iotatol = -1.000000000000000E+00
Lextrap = 0
Mregular = -1
/
&locallist
LBeltrami = 4
Linitgues = 1
/
&globallist
Lfindzero = 2
escale = 0.000000000000000E+00
opsilon = 1.000000000000000E+00
pcondense = 2.000000000000000E+00
epsilon = 0.000000000000000E+00
wpoloidal = 1.000000000000000E+00
upsilon = 1.000000000000000E+00
forcetol = 1.000000000000000E-12
c05xmax = 1.000000000000000E-06
c05xtol = 1.000000000000000E-10
c05factor = 1.000000000000000E-02
LreadGF = F
mfreeits = 0
gBntol = 1.000000000000000E-06
gBnbld = 6.660000000000000E-01
vcasingeps = 1.000000000000000E-12
vcasingtol = 1.000000000000000E-08
vcasingits = 8
vcasingper = 1
/
&diagnosticslist
odetol = 1.000000000000000E-07
nPpts = 500
nPtrj = 5 10 5
LHevalues = F
LHevectors = F
LHmatrix = T
Lperturbed = 0
dpp = -1
dqq = -1
Lcheck = 1
Ltiming = F
/
&screenlist
Wpp00aa = T
Whesian = T
/
0 0 4.002650778313936E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 5.997349221686633E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 1.000000000000000E+01 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00
1 0 -3.027260137998658E-24 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 -1.425242065616607E-28 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00
2 0 -2.762051886527595E-25 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 2.843088394703559E-29 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00 0.000000000000000E+00
Binary file added ci/G1V03L3Fi/compare.h5
Binary file not shown.
Loading
Loading