Conversation
59f1dbb to
9355159
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4156 +/- ##
==========================================
- Coverage 48.02% 48.00% -0.03%
==========================================
Files 143 143
Lines 30088 30157 +69
==========================================
+ Hits 14451 14477 +26
- Misses 15637 15680 +43 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| return self._full_name_ | ||
|
|
||
|
|
||
| class PlasmaDiamagneticCurrent: |
There was a problem hiding this comment.
Can you implement Model here please
| ) | ||
|
|
||
| @staticmethod | ||
| @nb.jit(nopython=True, cache=True) |
There was a problem hiding this comment.
| @nb.jit(nopython=True, cache=True) | |
| @nb.njit(cache=True) |
Trying to move to this style of decorator for numba
| return beta / 2.8 | ||
|
|
||
| @staticmethod | ||
| @nb.jit(nopython=True, cache=True) |
There was a problem hiding this comment.
| @nb.jit(nopython=True, cache=True) | |
| @nb.njit(cache=True) |
| ) | ||
|
|
||
| if ( | ||
| PlasmaDiamagneticCurrentModel(physics_variables.i_diamagnetic_current) |
There was a problem hiding this comment.
| PlasmaDiamagneticCurrentModel(physics_variables.i_diamagnetic_current) | |
| physics_variables.i_diamagnetic_current |
| current_drive_variables.f_c_plasma_diamagnetic_hender | ||
| ) | ||
| elif ( | ||
| PlasmaDiamagneticCurrentModel(physics_variables.i_diamagnetic_current) |
There was a problem hiding this comment.
| PlasmaDiamagneticCurrentModel(physics_variables.i_diamagnetic_current) | |
| physics_variables.i_diamagnetic_current |
| return self._full_name_ | ||
|
|
||
|
|
||
| class PlasmaDiamagneticCurrent: |
There was a problem hiding this comment.
Can you move the outputing of this models variables (e.g. f_c_plasma_diamagnetic_scene) into an output method on this class rather than in bootstrap_current.
|
|
||
| @staticmethod | ||
| @nb.jit(nopython=True, cache=True) | ||
| @nb.jit(cache=True) |
There was a problem hiding this comment.
This and others needs to be njit (the n replaces the need for nopython=True)
Description
Checklist
I confirm that I have completed the following checks: