Conversation
f84b700 to
00132d7
Compare
|
See detailed comments in the issue #392. |
timothy-nunn
left a comment
There was a problem hiding this comment.
One minor change for code quality, one question to ensure this change is utilised to its fullest potential
|
|
||
| return xsect0 | ||
|
|
||
| def Sauter_geometry(self, a, r0, kap, tri): |
There was a problem hiding this comment.
Even though its a persons name, I think Sauter should be lower case
|
|
||
| # Cross-sectional area | ||
| physics_variables.xarea = self.xsecta(xi, thetai, xo, thetao) | ||
| # icurr = 8 specifies use of the Sauter geometry as well as plasma current. |
There was a problem hiding this comment.
Will it ever make sense to use Sauter geometry without using the Sauter plasma current?
There was a problem hiding this comment.
Yes, I suppose so. That would involve a new switch. Maybe a new issue?
There was a problem hiding this comment.
Ok. If you make this into a new issue we can discuss it there
…3128) * Minor refactor of culcur option icurr=8 * Replaced qpsi by q95 in unit tests for culcur. * Sauter's geometric formulae. Improved test for negative temperature in temperature margin calc. * Correct sauter_geometry method name --------- Co-authored-by: Michael Kovari <michael.kovari@ukaea.uk> Co-authored-by: Timothy Nunn <timothy.nunn@ukaea.uk>
…3128) * Minor refactor of culcur option icurr=8 * Replaced qpsi by q95 in unit tests for culcur. * Sauter's geometric formulae. Improved test for negative temperature in temperature margin calc. * Correct sauter_geometry method name --------- Co-authored-by: Michael Kovari <michael.kovari@ukaea.uk> Co-authored-by: Timothy Nunn <timothy.nunn@ukaea.uk>
Minor refactor of
culcurinphysics.py, as described in #392:Update docstring.
Rename qpsi in culcur as q95.
Eliminate curhat since it's not necessary.
Test for a range of values of triangularity.