Skip to content

Commit

Permalink
Convert neoclassics_module.f90 to Python
Browse files Browse the repository at this point in the history
* Remove unused neoclassic routine
* Add tests for neoclassics module
* Convert init_neoclassics to Python
* Convert init_profile_values_from_PROCESS to Python
* Convert neoclassics roots and weights functions to Python
* Convert neoclassics_calc_KT to Python
* Convert neoclassics_calc_nu to Python
* Convert neoclassics_calc_nu_star to Python
* Convert neoclassics_calc_nu_star_fromT to Python
* Convert neoclassics_calc_vd to Python
* Convert neoclassics_calc_D11_plateau to Python
* Convert neoclassics_calc_d11_mono to Python
* Convert neoclassics_calc_D11(1/2/3) to Python
* Convert neoclassics_calc_Gamma_flux to Python
* Convert neoclassics_calc_q_flux to Python
  • Loading branch information
timothy-nunn committed Nov 8, 2024
1 parent 42780a9 commit 39718fe
Show file tree
Hide file tree
Showing 6 changed files with 1,625 additions and 547 deletions.
4 changes: 3 additions & 1 deletion process/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
from process.plasma_geometry import PlasmaGeom
from process.pulse import Pulse
from process.scan import Scan
from process.stellarator import Stellarator
from process.stellarator import Stellarator, Neoclassics
from process.structure import Structure
from process.build import Build
from process.utilities.f2py_string_patch import string_to_f2py_compatible
Expand Down Expand Up @@ -629,6 +629,7 @@ def __init__(self):
self.physics = Physics(
plasma_profile=self.plasma_profile, current_drive=self.current_drive
)
self.neoclassics = Neoclassics()
self.stellarator = Stellarator(
availability=self.availability,
buildings=self.buildings,
Expand All @@ -639,6 +640,7 @@ def __init__(self):
hcpb=self.ccfe_hcpb,
current_drive=self.current_drive,
physics=self.physics,
neoclassics=self.neoclassics,
)
self.dcll = DCLL(blanket_library=self.blanket_library)

Expand Down
Loading

0 comments on commit 39718fe

Please sign in to comment.