Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme 404 fix #209

Merged
merged 34 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
39e758a
Add Flowchart to repository, fix URLs in README
missing-user Nov 14, 2024
3493bb9
added .ext.sp.DF and ext.sp.end to grp_output
missing-user Nov 14, 2024
b446552
added .GF.ma and .GF.ev files to grp_output
missing-user Nov 15, 2024
17b7826
added SPEC flowchart to doxygen
missing-user Nov 15, 2024
6cd5c16
added SPEC flowchart to doxygen
missing-user Nov 15, 2024
be14bd3
reverted Doxygen action name change
missing-user Nov 15, 2024
0ca2313
Add link to SPEC wiki for cluster installation instructions
missing-user Nov 15, 2024
a8abc48
Revert "Add link to SPEC wiki for cluster installation instructions"
missing-user Nov 15, 2024
7fbea18
Contributors citation file added
missing-user Nov 15, 2024
752609c
Changed preferred citation format to the first SPEC paper
missing-user Nov 15, 2024
c07be3c
added verification paper to references
missing-user Nov 15, 2024
f9f2472
use Citations.cff in readme
missing-user Nov 15, 2024
87fbb77
updated and validated cff
missing-user Nov 15, 2024
b50dfdc
add cff validarion to doxygen action
missing-user Nov 16, 2024
8b26f02
Create cff_to_bib_refs.py
missing-user Nov 16, 2024
f3c9add
Delete spec_refs.bib
missing-user Nov 16, 2024
8f125f6
Update cff_to_bib_refs.py
missing-user Nov 16, 2024
298bbc8
make bibtex naming convention consistent
missing-user Nov 16, 2024
abb9357
readme citelist
missing-user Nov 17, 2024
bdb5d90
added doi, removed duplicate reference
missing-user Nov 17, 2024
40c8b22
Merge branch 'PrincetonUniversity:master' into readme-404-fix
missing-user Nov 23, 2024
dbd69e6
extended bibliography
missing-user Nov 24, 2024
38d5b86
removed bibliography from cff file
missing-user Nov 24, 2024
50e45e0
Added short description to readme, citation is own section
missing-user Nov 24, 2024
e0ffcb6
missing indent made cff invalid
missing-user Dec 3, 2024
8c9f8a8
.sp.DF to .ext.sp.DF for consistency
missing-user Dec 3, 2024
f30b411
docs
missing-user Dec 3, 2024
b726684
build_vector_potential tderiv was unused
missing-user Dec 3, 2024
96c4110
minor docs
missing-user Dec 3, 2024
b5fca20
Doxyfile Compile.md removed, bibtex extended
missing-user Dec 3, 2024
612127a
force all references to appear in Bibliography
missing-user Dec 3, 2024
f622b82
relative link for compile instructions
missing-user Dec 3, 2024
f10e050
mvol docstring
missing-user Dec 3, 2024
d11bf95
Merge branch 'master' into readme-404-fix
missing-user Dec 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2


# Validate CITATION.cff
- name: CITATION.cff to spec_refs.bib
run: |
pip install --user pyyaml cffconvert==2.0.0
cffconvert --validate

# run doxygen
- name: Doxygen Action
uses: mattnotmitt/[email protected]
Expand All @@ -28,7 +34,9 @@ jobs:

- name: Copy Pdf
working-directory: ${{ github.workspace }}
run: sudo cp ./docs/latex/refman.pdf ./docs/html/SPEC_manual.pdf
run: |
sudo cp ./docs/latex/refman.pdf ./docs/html/SPEC_manual.pdf
sudo cp ./docs/SPEC_flowchart.pdf ./docs/html/SPEC_flowchart.pdf

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
171 changes: 171 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
cff-version: 1.2.0
title: Stepped Pressure Equilibrium Code (SPEC)
message: If you use SPEC in your research, please cite the following works.
type: software
contact:
- family-names: Hudson
given-names: Stuart
email: [email protected]
affiliation: Princeton Plasma Physics Laboratory
orcid: "https://orcid.org/0000-0003-1530-2733"
authors:
- family-names: Hudson
given-names: Stuart
email: [email protected]
affiliation: Princeton Plasma Physics Laboratory
orcid: "https://orcid.org/0000-0003-1530-2733"
- family-names: Schilling
given-names: Jonathan
affiliation: Max-Planck Institute for Plasma Physics
orcid: https://orcid.org/0000-0002-6363-6554
- family-names: Baillod
given-names: Antoine
affiliation: Columbia University
orcid: https://orcid.org/0000-0003-0352-9180
- family-names: Qu
given-names: Zhisong
affiliation: Nanyang Technological University
orcid: https://orcid.org/0000-0003-4628-6983
- family-names: Loizu
given-names: Joaquim
affiliation: Federal Institute of Technology Lausanne (EPFL)
orcid: https://orcid.org/0000-0002-4862-7393
- family-names: Medasani
given-names: Bharat
affiliation: New Mexico State University
- family-names: Smiet
given-names: Christopher Berg
orcid: https://orcid.org/0000-0002-7803-7685
affiliation: Federal Institute of Technology Lausanne (EPFL)
- family-names: Zhu
given-names: Caoxiang
affiliation: University of Science and Technology of China
orcid: https://orcid.org/0000-0003-2337-3232
- family-names: Lazerson
given-names: Samuel Aaron
affiliation: Princeton Plasma Physics Laboratory
orcid: https://orcid.org/0000-0001-8002-0121
- family-names: Breslau
given-names: Joshua
affiliation: Princeton Plasma Physics Laboratory
orcid: https://orcid.org/0000-0002-0649-4836
identifiers:
- type: url
value: https://github.com/PrincetonUniversity/SPEC/releases/tag/v3.20
description: The GitHub URL for the SPEC v3.20 release
repository-code: https://github.com/PrincetonUniversity/SPEC
url: https://princetonuniversity.github.io/SPEC/
abstract: >-
A code for calculating magnetohydrodynamic equilibria with
stepped pressure-profiles, by finding stationary points in
the MRxMHD energy functional.
keywords:
- magnetohydrodynamics
- SPEC
- MRxMHD
license: GPL-3.0
commit: 5996ea6db8cea383c659fced8e6a2c24cd774642
version: "3.20"
date-released: "2022-07-01"
preferred-citation:
type: article
authors:
- family-names: Hudson
given-names: Stuart
email: [email protected]
affiliation: "Princeton Plasma Physics Laboratory"
orcid: "https://orcid.org/0000-0003-1530-2733"
- family-names: Dewar
given-names: R. L.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: Hole
given-names: M. J.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: Dennis
given-names: G.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: McGann
given-names: M.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: von Nessi
given-names: G.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: Lazerson
given-names: Samuel Aaron
affiliation: "Princeton Plasma Physics Laboratory"
orcid: https://orcid.org/0000-0001-8002-0121
title: Computation of multi-region relaxed magnetohydrodynamic equilibria
journal: Phys. Plasmas
volume: "19"
issue: "11"
year: 2012
doi: 10.1063/1.4765691
url: "https://doi.org/10.1063/1.4765691"
references:
- type: article
authors:
- family-names: Hudson
given-names: Stuart
email: [email protected]
affiliation: "Princeton Plasma Physics Laboratory"
orcid: "https://orcid.org/0000-0003-1530-2733"
- family-names: Dewar
given-names: R. L.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: Hole
given-names: M. J.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: Dennis
given-names: G.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: McGann
given-names: M.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: von Nessi
given-names: G.
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
- family-names: Lazerson
given-names: Samuel Aaron
affiliation: "Princeton Plasma Physics Laboratory"
orcid: https://orcid.org/0000-0001-8002-0121
title: Computation of multi-region relaxed magnetohydrodynamic equilibria
journal: Phys. Plasmas
volume: "19"
issue: "11"
year: 2012
doi: 10.1063/1.4765691
url: "https://doi.org/10.1063/1.4765691"
- type: article
authors:
- family-names: Hudson
given-names: Stuart R.
orcid: https://orcid.org/0000-0003-1530-2733
- family-names: Loizu
given-names: Joaquim
orcid: https://orcid.org/0000-0002-4862-7393
- family-names: Zhu
given-names: Caoxiang
orcid: https://orcid.org/0000-0003-2337-3232
- family-names: Qu
given-names: Zhisong
orcid: https://orcid.org/0000-0003-4628-6983
- family-names: Nührenberg
given-names: Carolin
- family-names: Lazerson
given-names: Samuel A.
orcid: https://orcid.org/0000-0001-8002-0121
- family-names: Smiet
given-names: Christopher Berg
orcid: https://orcid.org/0000-0002-7803-7685
- family-names: Hole
given-names: Matthew J.
orcid: https://orcid.org/0000-0002-9550-8776
title: "Free-boundary MRxMHD equilibrium calculations using the stepped-pressure equilibrium code"
journal: "Plasma Physics and Controlled Fusion"
volume: "62"
issue: "8"
pages: "084002"
year: 2020
doi: "10.1088/1361-6587/ab9a61"
url: "https://dx.doi.org/10.1088/1361-6587/ab9a61"

2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT = README.md Compile.md src
INPUT = README.md compilation_instructions.md src docs/Citelist.md

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down
26 changes: 16 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# The Stepped Pressure Equilibrium Code
![SPEC logo](SPEC_97x55.png)
# The Stepped Pressure Equilibrium Code

All relevant publications and presentations are given on the [MRxMHD website](http://w3.pppl.gov/~shudson/Spec/spec.html).
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.

A BibTex file is available: [spec_refs.bib](https://raw.githubusercontent.com/PrincetonUniversity/SPEC/master/spec_refs.bib).
- There is a [brief description of SPEC](https://theory.pppl.gov/research/research.php?rid=10#h5) on the Princeton Plasma Physics Laboratory [Theory Department website](https://theory.pppl.gov/).
- An overview of the algorithm is given in a [Flow Chart](https://princetonuniversity.github.io/SPEC/docs/SPEC_flowchart.pdf).
- A list of publications using SPEC are in our [bibliography section](https://princetonuniversity.github.io/SPEC/citelist)
- Please direct questions/suggestions to [Stuart Hudson](mailto:[email protected]?subject=spec).

## 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](https://github.com/PrincetonUniversity/SPEC) or the [CITATION.cff](https://github.com/PrincetonUniversity/SPEC/blob/master/CITATION.cff) file.

## Installation
Instructions for compiling and testing SPEC are in [compilation_instructions.md](compilation_instructions.md).

## Documentation
Online documentation for SPEC is available on [Github pages](https://princetonuniversity.github.io/SPEC/) or in PDF form at [SPEC_manual.pdf](https://princetonuniversity.github.io/SPEC/SPEC_manual.pdf).

* There is also a [brief description of SPEC](http://theory.pppl.gov/research/research.php?rid=10#h5)
on the Princeton Plasma Physics Laboratory [Theory Department website](http://theory.pppl.gov/).
* An overview of the algorithm is given in a [Flow Chart](http://w3.pppl.gov/~shudson/Spec/SpecFlowchart.pdf).
* Please direct questions/suggestions to [Stuart Hudson](mailto:[email protected]?subject=spec).
* Online documentation for SPEC is available on [Github pages](https://princetonuniversity.github.io/SPEC/).
A PDF version of this manual is available in [SPEC_manual.pdf](https://princetonuniversity.github.io/SPEC/SPEC_manual.pdf).
* Instructions for compiling and testing SPEC are in [Compile.md](https://github.com/PrincetonUniversity/SPEC/blob/master/Compile.md).
16 changes: 16 additions & 0 deletions docs/Citelist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
List of papers using spec
(Citations that aren't explicitly referenced, don't appear in the bibliography, so we list them all here.)

\cite y2015_hanson
\cite y2017_zhu
\cite y2016_loizu
\cite y2021_baillod
\cite y2016_loizu_1
\cite y2015_loizu_1
\cite y2015_loizu
\cite y2020_loizu
\cite y2023_loizu
\cite y2017_loizu
\cite y2023_baillod
\cite y2019_loizu
\cite y2024_liu
Binary file added docs/SPEC_flowchart.pdf
Binary file not shown.
Loading
Loading