Skip to content
Snippets Groups Projects
Commit 3337c6bc authored by Stefan Possanner's avatar Stefan Possanner
Browse files

update readme

parent 17255e20
No related branches found
No related tags found
1 merge request!6Bug fix dL_inv
Pipeline #154519 passed
......@@ -37,7 +37,11 @@ gvec.profiles.profile(s, name='chi') # poloidal flux profile
gvec.profiles.profile(s, name='iota') # iota profile
gvec.profiles.profile(s, name='pressure') # pressure profile
```
where the radial coordinate `s` is the square-root of the normalized toroidal flux.
where the radial coordinate `s` is the square-root of the normalized toroidal flux. Profile derivatives are callable via
```
gvec.profiles.profile(s, name='phi', der='s') # first derivative
gvec.profiles.profile(s, name='phi', der='ss') # second derivative
```
![Profiles](notebooks/profiles.png "Title")
......@@ -86,14 +90,21 @@ The MHD quantities are called via
```
gvec.p0(s, a1, a2) # pressure as 0-form
gvec.p3(s, a1, a2) # pressure as 3-form
gvec.bv(s, a1, a2) # contra-variant B-field
gvec.b1(s, a1, a2) # co-variant B-field (1-form)
gvec.b2(s, a1, a2) # 2-form B-field
gvec.b_cart(s, a1, a2) # Cartesian B-field
gvec.av(s, a1, a2) # contra-variant vector potential
gvec.a1(s, a1, a2) # co-variant vector potential (1-form)
gvec.a2(s, a1, a2) # 2-form vector potential
gvec.a_cart(s, a1, a2) # Cartesian vector potential
gvec.jv(s, a1, a2) # contra-variant current
gvec.j1(s, a1, a2) # co-variant current (1-form)
gvec.j2(s, a1, a2) # 2-form current
gvec.j_cart(s, a1, a2) # Cartesian current
```
![](notebooks/pressure.png)
......
notebooks/absB.png

87.8 KiB | W: | H:

notebooks/absB.png

115 KiB | W: | H:

notebooks/absB.png
notebooks/absB.png
notebooks/absB.png
notebooks/absB.png
  • 2-up
  • Swipe
  • Onion skin
notebooks/det_df.png

114 KiB | W: | H:

notebooks/det_df.png

124 KiB | W: | H:

notebooks/det_df.png
notebooks/det_df.png
notebooks/det_df.png
notebooks/det_df.png
  • 2-up
  • Swipe
  • Onion skin
notebooks/dtheta.png

751 KiB | W: | H:

notebooks/dtheta.png

940 KiB | W: | H:

notebooks/dtheta.png
notebooks/dtheta.png
notebooks/dtheta.png
notebooks/dtheta.png
  • 2-up
  • Swipe
  • Onion skin
notebooks/poloidal.png

447 KiB | W: | H:

notebooks/poloidal.png

507 KiB | W: | H:

notebooks/poloidal.png
notebooks/poloidal.png
notebooks/poloidal.png
notebooks/poloidal.png
  • 2-up
  • Swipe
  • Onion skin
notebooks/pressure.png

128 KiB | W: | H:

notebooks/pressure.png

157 KiB | W: | H:

notebooks/pressure.png
notebooks/pressure.png
notebooks/pressure.png
notebooks/pressure.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment