Skip to content

Commit 95c4c78

Browse files
authored
Merge pull request #209 from missing-user/readme-404-fix
Readme 404 fix
2 parents df84877 + d11bf95 commit 95c4c78

17 files changed

+586
-60
lines changed

.github/workflows/doxygen.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ jobs:
1919
steps:
2020
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2121
- uses: actions/checkout@v2
22-
22+
23+
# Validate CITATION.cff
24+
- name: CITATION.cff to spec_refs.bib
25+
run: |
26+
pip install --user pyyaml cffconvert==2.0.0
27+
cffconvert --validate
28+
2329
# run doxygen
2430
- name: Doxygen Action
2531
uses: mattnotmitt/[email protected]
@@ -28,7 +34,9 @@ jobs:
2834

2935
- name: Copy Pdf
3036
working-directory: ${{ github.workspace }}
31-
run: sudo cp ./docs/latex/refman.pdf ./docs/html/SPEC_manual.pdf
37+
run: |
38+
sudo cp ./docs/latex/refman.pdf ./docs/html/SPEC_manual.pdf
39+
sudo cp ./docs/SPEC_flowchart.pdf ./docs/html/SPEC_flowchart.pdf
3240
3341
- name: Deploy
3442
uses: peaceiris/actions-gh-pages@v3

CITATION.cff

+171
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
cff-version: 1.2.0
2+
title: Stepped Pressure Equilibrium Code (SPEC)
3+
message: If you use SPEC in your research, please cite the following works.
4+
type: software
5+
contact:
6+
- family-names: Hudson
7+
given-names: Stuart
8+
9+
affiliation: Princeton Plasma Physics Laboratory
10+
orcid: "https://orcid.org/0000-0003-1530-2733"
11+
authors:
12+
- family-names: Hudson
13+
given-names: Stuart
14+
15+
affiliation: Princeton Plasma Physics Laboratory
16+
orcid: "https://orcid.org/0000-0003-1530-2733"
17+
- family-names: Schilling
18+
given-names: Jonathan
19+
affiliation: Max-Planck Institute for Plasma Physics
20+
orcid: https://orcid.org/0000-0002-6363-6554
21+
- family-names: Baillod
22+
given-names: Antoine
23+
affiliation: Columbia University
24+
orcid: https://orcid.org/0000-0003-0352-9180
25+
- family-names: Qu
26+
given-names: Zhisong
27+
affiliation: Nanyang Technological University
28+
orcid: https://orcid.org/0000-0003-4628-6983
29+
- family-names: Loizu
30+
given-names: Joaquim
31+
affiliation: Federal Institute of Technology Lausanne (EPFL)
32+
orcid: https://orcid.org/0000-0002-4862-7393
33+
- family-names: Medasani
34+
given-names: Bharat
35+
affiliation: New Mexico State University
36+
- family-names: Smiet
37+
given-names: Christopher Berg
38+
orcid: https://orcid.org/0000-0002-7803-7685
39+
affiliation: Federal Institute of Technology Lausanne (EPFL)
40+
- family-names: Zhu
41+
given-names: Caoxiang
42+
affiliation: University of Science and Technology of China
43+
orcid: https://orcid.org/0000-0003-2337-3232
44+
- family-names: Lazerson
45+
given-names: Samuel Aaron
46+
affiliation: Princeton Plasma Physics Laboratory
47+
orcid: https://orcid.org/0000-0001-8002-0121
48+
- family-names: Breslau
49+
given-names: Joshua
50+
affiliation: Princeton Plasma Physics Laboratory
51+
orcid: https://orcid.org/0000-0002-0649-4836
52+
identifiers:
53+
- type: url
54+
value: https://github.com/PrincetonUniversity/SPEC/releases/tag/v3.20
55+
description: The GitHub URL for the SPEC v3.20 release
56+
repository-code: https://github.com/PrincetonUniversity/SPEC
57+
url: https://princetonuniversity.github.io/SPEC/
58+
abstract: >-
59+
A code for calculating magnetohydrodynamic equilibria with
60+
stepped pressure-profiles, by finding stationary points in
61+
the MRxMHD energy functional.
62+
keywords:
63+
- magnetohydrodynamics
64+
- SPEC
65+
- MRxMHD
66+
license: GPL-3.0
67+
commit: 5996ea6db8cea383c659fced8e6a2c24cd774642
68+
version: "3.20"
69+
date-released: "2022-07-01"
70+
preferred-citation:
71+
type: article
72+
authors:
73+
- family-names: Hudson
74+
given-names: Stuart
75+
76+
affiliation: "Princeton Plasma Physics Laboratory"
77+
orcid: "https://orcid.org/0000-0003-1530-2733"
78+
- family-names: Dewar
79+
given-names: R. L.
80+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
81+
- family-names: Hole
82+
given-names: M. J.
83+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
84+
- family-names: Dennis
85+
given-names: G.
86+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
87+
- family-names: McGann
88+
given-names: M.
89+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
90+
- family-names: von Nessi
91+
given-names: G.
92+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
93+
- family-names: Lazerson
94+
given-names: Samuel Aaron
95+
affiliation: "Princeton Plasma Physics Laboratory"
96+
orcid: https://orcid.org/0000-0001-8002-0121
97+
title: Computation of multi-region relaxed magnetohydrodynamic equilibria
98+
journal: Phys. Plasmas
99+
volume: "19"
100+
issue: "11"
101+
year: 2012
102+
doi: 10.1063/1.4765691
103+
url: "https://doi.org/10.1063/1.4765691"
104+
references:
105+
- type: article
106+
authors:
107+
- family-names: Hudson
108+
given-names: Stuart
109+
110+
affiliation: "Princeton Plasma Physics Laboratory"
111+
orcid: "https://orcid.org/0000-0003-1530-2733"
112+
- family-names: Dewar
113+
given-names: R. L.
114+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
115+
- family-names: Hole
116+
given-names: M. J.
117+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
118+
- family-names: Dennis
119+
given-names: G.
120+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
121+
- family-names: McGann
122+
given-names: M.
123+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
124+
- family-names: von Nessi
125+
given-names: G.
126+
affiliation: "Plasma Research Laboratory, Research School of Physics & Engineering, The Australian National University, Canberra ACT 0200, Australia"
127+
- family-names: Lazerson
128+
given-names: Samuel Aaron
129+
affiliation: "Princeton Plasma Physics Laboratory"
130+
orcid: https://orcid.org/0000-0001-8002-0121
131+
title: Computation of multi-region relaxed magnetohydrodynamic equilibria
132+
journal: Phys. Plasmas
133+
volume: "19"
134+
issue: "11"
135+
year: 2012
136+
doi: 10.1063/1.4765691
137+
url: "https://doi.org/10.1063/1.4765691"
138+
- type: article
139+
authors:
140+
- family-names: Hudson
141+
given-names: Stuart R.
142+
orcid: https://orcid.org/0000-0003-1530-2733
143+
- family-names: Loizu
144+
given-names: Joaquim
145+
orcid: https://orcid.org/0000-0002-4862-7393
146+
- family-names: Zhu
147+
given-names: Caoxiang
148+
orcid: https://orcid.org/0000-0003-2337-3232
149+
- family-names: Qu
150+
given-names: Zhisong
151+
orcid: https://orcid.org/0000-0003-4628-6983
152+
- family-names: Nührenberg
153+
given-names: Carolin
154+
- family-names: Lazerson
155+
given-names: Samuel A.
156+
orcid: https://orcid.org/0000-0001-8002-0121
157+
- family-names: Smiet
158+
given-names: Christopher Berg
159+
orcid: https://orcid.org/0000-0002-7803-7685
160+
- family-names: Hole
161+
given-names: Matthew J.
162+
orcid: https://orcid.org/0000-0002-9550-8776
163+
title: "Free-boundary MRxMHD equilibrium calculations using the stepped-pressure equilibrium code"
164+
journal: "Plasma Physics and Controlled Fusion"
165+
volume: "62"
166+
issue: "8"
167+
pages: "084002"
168+
year: 2020
169+
doi: "10.1088/1361-6587/ab9a61"
170+
url: "https://dx.doi.org/10.1088/1361-6587/ab9a61"
171+

Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ WARN_LOGFILE =
856856
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
857857
# Note: If this tag is empty the current directory is searched.
858858

859-
INPUT = README.md Compile.md src
859+
INPUT = README.md compilation_instructions.md src docs/Citelist.md
860860

861861
# This tag can be used to specify the character encoding of the source files
862862
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses

README.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
# The Stepped Pressure Equilibrium Code
1+
![SPEC logo](SPEC_97x55.png)
2+
# The Stepped Pressure Equilibrium Code
23

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

5-
A BibTex file is available: [spec_refs.bib](https://raw.githubusercontent.com/PrincetonUniversity/SPEC/master/spec_refs.bib).
6+
- 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/).
7+
- An overview of the algorithm is given in a [Flow Chart](https://princetonuniversity.github.io/SPEC/docs/SPEC_flowchart.pdf).
8+
- A list of publications using SPEC are in our [bibliography section](https://princetonuniversity.github.io/SPEC/citelist)
9+
- Please direct questions/suggestions to [Stuart Hudson](mailto:[email protected]?subject=spec).
10+
11+
## Citation
12+
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.
13+
14+
## Installation
15+
Instructions for compiling and testing SPEC are in [compilation_instructions.md](compilation_instructions.md).
16+
17+
## Documentation
18+
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).
619

7-
* There is also a [brief description of SPEC](http://theory.pppl.gov/research/research.php?rid=10#h5)
8-
on the Princeton Plasma Physics Laboratory [Theory Department website](http://theory.pppl.gov/).
9-
* An overview of the algorithm is given in a [Flow Chart](http://w3.pppl.gov/~shudson/Spec/SpecFlowchart.pdf).
10-
* Please direct questions/suggestions to [Stuart Hudson](mailto:[email protected]?subject=spec).
11-
* Online documentation for SPEC is available on [Github pages](https://princetonuniversity.github.io/SPEC/).
12-
A PDF version of this manual is available in [SPEC_manual.pdf](https://princetonuniversity.github.io/SPEC/SPEC_manual.pdf).
13-
* Instructions for compiling and testing SPEC are in [Compile.md](https://github.com/PrincetonUniversity/SPEC/blob/master/Compile.md).

docs/Citelist.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
List of papers using spec
2+
(Citations that aren't explicitly referenced, don't appear in the bibliography, so we list them all here.)
3+
4+
\cite y2015_hanson
5+
\cite y2017_zhu
6+
\cite y2016_loizu
7+
\cite y2021_baillod
8+
\cite y2016_loizu_1
9+
\cite y2015_loizu_1
10+
\cite y2015_loizu
11+
\cite y2020_loizu
12+
\cite y2023_loizu
13+
\cite y2017_loizu
14+
\cite y2023_baillod
15+
\cite y2019_loizu
16+
\cite y2024_liu

docs/SPEC_flowchart.pdf

566 KB
Binary file not shown.

0 commit comments

Comments
 (0)