Skip to content
Merged
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
2 changes: 1 addition & 1 deletion examples/a_scan_input_file_IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ ixc = 16
boundl(16) = 0.3
ohcth = 0.5

* q
* Safety factor near plasma edge
ixc = 18
boundl(18) = 3.0
q = 3.5
Expand Down
2 changes: 1 addition & 1 deletion source/fortran/input.f90
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "near plasma edge"is a little vague.

Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ subroutine parse_input_file(in_file,out_file,show_changes)
'Plasma resistivity pre-factor')
case ('q')
call parse_real_variable('q', q, 1.00D0, 50.0D0, &
'Edge safety factor')
'Safety factor near plasma edge')
case ('q0')
call parse_real_variable('q0', q0, 0.01D0, 20.0D0, &
'Safety factor on axis')
Expand Down
2 changes: 1 addition & 1 deletion source/fortran/physics_variables.f90
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ module physics_variables
!! ion transport power per volume (MW/m3)

real(dp) :: q
!! safety factor 'near' plasma edge (`iteration variable 18`) equal to q95
!! Safety factor 'near' plasma edge (`iteration variable 18`) equal to q95
!! (unless `icurr=2` (ST current scaling), in which case q = mean edge safety factor qbar)

real(dp) :: q0
Expand Down
2 changes: 1 addition & 1 deletion tests/regression/scenarios/large-tokamak/IN.DAT
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ ixc = 16
boundl(16) = 0.3
ohcth = 0.5

* q
* Safety factor near plasma edge
ixc = 18
boundl(18) = 3.0
q = 3.5
Expand Down