Skip to content

Commit

Permalink
Fix initialisers for ITER and NSTC Solov'ev equilibria.
Browse files Browse the repository at this point in the history
  • Loading branch information
michakraus committed Apr 10, 2019
1 parent 29348e9 commit e489e7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/analytic/solovev.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function Solovev(R₀::T, B₀::T, ϵ::T, κ::T, δ::T, a::T) where T <: Number
end


SolovevITER = Solovev(6.2, 5.3, 0.32, 1.7, 0.33, -0.155)
SolovevNSTX = Solovev(0.85, 0.3, 0.78, 2.0, 0.35, 1.0)
SolovevITER() = Solovev(6.2, 5.3, 0.32, 1.7, 0.33, -0.155)
SolovevNSTX() = Solovev(0.85, 0.3, 0.78, 2.0, 0.35, 1.0)


function Base.show(io::IO, equ::Solovev)
Expand Down
4 changes: 2 additions & 2 deletions src/analytic/solovev_xpoint.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ function SolovevXpoint(R₀::T, B₀::T, ϵ::T, κ::T, δ::T, a::T, xₛₑₚ::
end


SolovevXpointITER = SolovevXpoint(6.2, 5.3, 0.32, 1.7, 0.33, -0.155, 0.88, -0.60)
SolovevXpointNSTX = SolovevXpoint(0.85, 0.3, 0.78, 2.0, 0.35, -0.05, 0.70, -1.71)
SolovevXpointITER() = SolovevXpoint(6.2, 5.3, 0.32, 1.7, 0.33, -0.155, 0.88, -0.60)
SolovevXpointNSTX() = SolovevXpoint(0.85, 0.3, 0.78, 2.0, 0.35, -0.05, 0.70, -1.71)


function Base.show(io::IO, equ::SolovevXpoint)
Expand Down

0 comments on commit e489e7e

Please sign in to comment.