Skip to content

Commit

Permalink
🔄 Rename variable 'q' to 'q95' for clarity and consistency across mul…
Browse files Browse the repository at this point in the history
…tiple data files
  • Loading branch information
chris-ashe committed Feb 18, 2025
1 parent 9109f45 commit 26c592c
Show file tree
Hide file tree
Showing 22 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion examples/data/csv_output_large_tokamak_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1425,7 +1425,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion examples/data/large_tokamak_1_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion examples/data/large_tokamak_2_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion examples/data/large_tokamak_3_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion examples/data/large_tokamak_4_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion examples/data/large_tokamak_IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
4 changes: 2 additions & 2 deletions examples/data/scan_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -9259,7 +9259,7 @@ i_plasma_geometry = 0 * Switch for plasma cross-sectional shape calculation: u
*kappa = 1.7808
kappa = 1.848
triang = 0.5 * Plasma separatrix triangularity (calculated if i_plasma_geometry=1; 3 or 4)
q = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q95 = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q0 = 1.0 * Safety factor on axis
rmajor = 9.072 * Plasma major radius (m) (iteration variable 3)
i_single_null = 1 * Switch for single null / double null plasma;
Expand Down Expand Up @@ -9323,7 +9323,7 @@ t_burn = 1.0d4 * Burn time (s) (calculated if i_pulsed_plant=1)
dr_tf_inboard = 1.2080E+00
fwalld = 1.3100E-01
dr_cs = 5.5242E-01
q = 3.5000E+00
q95 = 3.5000E+00
dr_bore = 2.3322E+00
fbeta_max = 4.8251E-01
coheof = 2.0726E+07
Expand Down
2 changes: 1 addition & 1 deletion examples/data/scan_example_file_IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ dr_cs = 0.5
* Safety factor near plasma edge
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/large_tokamak_1_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/large_tokamak_2_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/large_tokamak_3_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/large_tokamak_4_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/large_tokamak_IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/large_tokamak_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/large_tokamak_once_through.IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ iprofile = 1 * switch for current profile consistency;
i_confinement_time = 34 * switch for energy confinement time scaling law (see description in `labels_confinement_scalings`)
i_plasma_geometry = 0 * switch for plasma cross-sectional shape calculation;
kappa = 1.85 * plasma separatrix elongation (calculated if `i_plasma_geometry = 1-5; 7 or 9-10`)
q = 3.7339078193128556 * Safety factor 'near' plasma edge (`iteration variable 18`) equal to q95
q95 = 3.7339078193128556 * Safety factor 'near' plasma edge (`iteration variable 18`) equal to q95
q0 = 1.0 * safety factor on axis
f_nd_alpha_electron = 0.060238763988650204 * thermal alpha density/electron density (`iteration variable 109`)
rmajor = 8.0 * plasma major radius (m) (`iteration variable 3`)
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/data/ref_IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ i_plasma_geometry = 0 * Switch for plasma cross-sectional shape calculation: u
*kappa = 1.7808
kappa = 1.848
triang = 0.5 * Plasma separatrix triangularity (calculated if i_plasma_geometry=1; 3 or 4)
q = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q95 = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q0 = 1.0 * Safety factor on axis
rmajor = 9.072 * Plasma major radius (m) (iteration variable 3)
i_single_null = 1 * Switch for single null / double null plasma;
Expand Down Expand Up @@ -343,7 +343,7 @@ t_burn = 1.0d4 * Burn time (s) (calculated if i_pulsed_plant=1)
dr_tf_inboard = 1.2080E+00
fwalld = 1.3100E-01
dr_cs = 5.5242E-01
q = 3.5000E+00
q95 = 3.5000E+00
dr_bore = 2.3322E+00
fbeta_max = 4.8251E-01
coheof = 2.0726E+07
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/data/scan_2D_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -17705,7 +17705,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/data/scan_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -9259,7 +9259,7 @@ i_plasma_geometry = 0 * Switch for plasma cross-sectional shape calculation: u
*kappa = 1.7808
kappa = 1.848
triang = 0.5 * Plasma separatrix triangularity (calculated if i_plasma_geometry=1; 3 or 4)
q = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q95 = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q0 = 1.0 * Safety factor on axis
rmajor = 9.072 * Plasma major radius (m) (iteration variable 3)
i_single_null = 1 * Switch for single null / double null plasma;
Expand Down Expand Up @@ -9323,7 +9323,7 @@ t_burn = 1.0d4 * Burn time (s) (calculated if i_pulsed_plant=1)
dr_tf_inboard = 1.2080E+00
fwalld = 1.3100E-01
dr_cs = 5.5242E-01
q = 3.5000E+00
q95 = 3.5000E+00
dr_bore = 2.3322E+00
fbeta_max = 4.8251E-01
coheof = 2.0726E+07
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/data/uncertainties_nonopt_ref_IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ i_plasma_geometry = 0 * Switch for plasma cross-sectional shape calculation: u
*kappa = 1.7808
kappa = 1.848
triang = 0.5 * Plasma separatrix triangularity (calculated if i_plasma_geometry=1; 3 or 4)
q = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q95 = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q0 = 1.0 * Safety factor on axis
rmajor = 9.072 * Plasma major radius (m) (iteration variable 3)
i_single_null = 1 * Switch for single null / double null plasma;
Expand Down Expand Up @@ -343,7 +343,7 @@ t_burn = 1.0d4 * Burn time (s) (calculated if i_pulsed_plant=1)
dr_tf_inboard = 1.2080E+00
fwalld = 1.3100E-01
dr_cs = 5.5242E-01
q = 3.5000E+00
q95 = 3.5000E+00
dr_bore = 2.3322E+00
fbeta_max = 4.8251E-01
coheof = 2.0726E+07
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/data/uncertainties_ref_IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ i_plasma_geometry = 0 * Switch for plasma cross-sectional shape calculation: u
*kappa = 1.7808
kappa = 1.848
triang = 0.5 * Plasma separatrix triangularity (calculated if i_plasma_geometry=1; 3 or 4)
q = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q95 = 3.247 * Safety factor 'near' plasma edge (iteration variable 18);
q0 = 1.0 * Safety factor on axis
rmajor = 9.072 * Plasma major radius (m) (iteration variable 3)
i_single_null = 1 * Switch for single null / double null plasma;
Expand Down Expand Up @@ -343,7 +343,7 @@ t_burn = 1.0d4 * Burn time (s) (calculated if i_pulsed_plant=1)
dr_tf_inboard = 1.2080E+00
fwalld = 1.3100E-01
dr_cs = 5.5242E-01
q = 3.5000E+00
q95 = 3.5000E+00
dr_bore = 2.3322E+00
fbeta_max = 4.8251E-01
coheof = 2.0726E+07
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/data/large_tokamak_IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/data/large_tokamak_MFILE.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ dr_cs = 0.5
* q
ixc = 18
boundl(18) = 3.0
q = 3.5
q95 = 3.5

* Machine dr_bore [m]
ixc = 29
Expand Down

0 comments on commit 26c592c

Please sign in to comment.