Skip to content

Commit

Permalink
Makes isfniycbozero variable
Browse files Browse the repository at this point in the history
  • Loading branch information
holm10 committed Jan 11, 2024
1 parent d716325 commit c613654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bbb/bbb.v
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ isnicore(nispmx) integer /1,30*0/ +input #switch for ion-density core B.
#=4, use impur. source terms (impur only)
#=5, set d(ni)/dy=-ni/lynicore at midp &
# ni constant poloidally
isfniycbozero integer /0/ +input # Switch for divergence-free fluxes on core boundary
isfniycbozero real /0./ +input # Switch for divergence-free fluxes on core boundary
#=0, allows divergence-free fluxes to modify net core flux
#=1, redistributes fluxes due to divergence-free term
# without affecting the net core boundary flux
Expand Down
2 changes: 1 addition & 1 deletion bbb/oderhs.m
Original file line number Diff line number Diff line change
Expand Up @@ -3346,7 +3346,7 @@ ccc iysptrx is the last closed flux surface (see S.R. nphygeo)
end do
fniycboave = fniycboave / (ixpt2(1) - ixpt1(1))
do ix = ixpt1(1)+1, ixpt2(1)
fniycbo(ix, ifld) = fniycbo(ix, ifld) - fniycboave
fniycbo(ix, ifld) = fniycbo(ix, ifld) - isfniycbozero*fniycboave
end do
end do
else if (isfniycbozero .lt. 0) then
Expand Down

0 comments on commit c613654

Please sign in to comment.