Skip to content

The Stepped-Pressure Equilibrium Code, an advanced MRxMHD equilibrium solver.

License

Notifications You must be signed in to change notification settings

missing-user/SPEC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPEC logo

The Stepped Pressure Equilibrium Code

SPEC solves 3D magnetohydrodynamic (MHD) equilibria with stepped-pressure profiles. This powerful description doesn't artificially restrict the solution to nested flux surfaces, and admits simulations with islands and chaotic regions. It is a spectral-element code, that finds minimal-plasma-energy states by extremizing the multi-region, relaxed-MHD (MRxMHD) energy functional.

Citation

If you use SPEC in your research, please cite it appropriately using the "Cite this repository" button on the right of the SPEC GitHub Repository or the CITATION.cff file.

Installation

Instructions for compiling and testing SPEC are in compilation_instructions.md.

Documentation

Online documentation for SPEC is available on Github pages or in PDF form at SPEC_manual.pdf.

About

The Stepped-Pressure Equilibrium Code, an advanced MRxMHD equilibrium solver.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SourcePawn 58.6%
  • Fortran 25.4%
  • Jupyter Notebook 8.0%
  • MATLAB 4.0%
  • Python 2.6%
  • Java 0.6%
  • Other 0.8%