From e489e7ee200c62faf968ca30328f229069b3ed79 Mon Sep 17 00:00:00 2001 From: Michael Kraus Date: Wed, 10 Apr 2019 11:28:08 +0200 Subject: [PATCH] Fix initialisers for ITER and NSTC Solov'ev equilibria. --- src/analytic/solovev.jl | 4 ++-- src/analytic/solovev_xpoint.jl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/analytic/solovev.jl b/src/analytic/solovev.jl index 75a3eae..6039dce 100644 --- a/src/analytic/solovev.jl +++ b/src/analytic/solovev.jl @@ -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) diff --git a/src/analytic/solovev_xpoint.jl b/src/analytic/solovev_xpoint.jl index 7c8bb09..6d67e4c 100644 --- a/src/analytic/solovev_xpoint.jl +++ b/src/analytic/solovev_xpoint.jl @@ -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)