|
V3FIT
|
Go to the documentation of this file.
27 REAL (dp),
PARAMETER ::
fsq_res = 1.e-16_dp
31 REAL (dp),
PARAMETER ::
mu_ped = 1.e-8_dp
97 REAL(dp),
DIMENSION(:),
ALLOCATABLE ::
xc
99 REAL(dp),
DIMENSION(:),
ALLOCATABLE,
TARGET ::
gc
102 REAL(dp),
DIMENSION(:),
ALLOCATABLE,
TARGET ::
gc_sup
104 REAL(dp),
DIMENSION(:,:,:),
ALLOCATABLE ::
buv_res
106 REAL(dp),
DIMENSION(:),
ALLOCATABLE ::
xc0
108 REAL(dp),
DIMENSION(:),
ALLOCATABLE ::
gc0
153 REAL(dp),
DIMENSION(:,:,:),
ALLOCATABLE ::
r1_i
155 REAL(dp),
DIMENSION(:,:,:),
ALLOCATABLE ::
z1_i
157 REAL(dp),
DIMENSION(:,:,:),
ALLOCATABLE ::
ru_i
159 REAL(dp),
DIMENSION(:,:,:),
ALLOCATABLE ::
zu_i
161 REAL(dp),
DIMENSION(:,:,:),
ALLOCATABLE ::
rv_i
163 REAL(dp),
DIMENSION(:,:,:),
ALLOCATABLE ::
zv_i
169 REAL (dp),
DIMENSION(:),
ALLOCATABLE ::
torflux
171 REAL (dp),
DIMENSION(:),
ALLOCATABLE ::
polflux
logical, parameter l_natural
Natural boundry condition flag.
real(dp) etak_tol
FIXME: UNKNOWN.
integer nprecon
Preconditioner flag.
integer out_hess_nfunct
FIXME UNKNOWN.
real(dp), dimension(:,:,:), allocatable r1_i
R coordinates of the computational grid.
logical l_push_edge
Solve u,v components at s=1.
logical lverbose
Use verbose screen output.
real(dp), dimension(:,:,:), allocatable zv_i
dZ/dv coordinates of the computational grid.
logical l_getfsq
Compute |F|^2.
real(dp), dimension(:), allocatable xc
1D array of Fourier mode displacement components.
logical l_par_state
Parallel allocated quantities? FIXME: check this.
integer in_hess_nfunct
FIXME UNKNOWN.
logical l_push_u
Solve for u component at origin.
integer iortho
Orthogonalization in GMRES.
logical, parameter l_pedge
Preserve s=1 as iso-pressure surface.
real(dp) scale_u
FIXME: UNKNOWN.
real(dp), dimension(:), allocatable, target gc_sup
1D Array of Fourier mode MHD force components, FIXME Check if this is really needed.
real(dp) delta_t
Time step.
real(dp) fsq_total
|F|^2 WITH column scaling.
logical l_push_s
Solve for s component at origin.
real(dp) bsbu_ratio_s
FIXME: UNKNOWN.
logical l_applyprecon
Apply preconditioner.
real(dp), dimension(12) bu0
FIXME: UNKNOWN.
integer ngmres_type
GMRES control flag.
real(dp) siesta_curtor
Total toroidal current.
real(dp), dimension(:), allocatable torflux
Toroidal flux profile.
integer, parameter gmres_peak
GMRES peak improvement.
real(dp), dimension(:,:,:), pointer asubvmnsf
Covariant vector potential for non-stellator symmetric v component on full grid.
real(dp), dimension(:,:,:), pointer asubumncf
Covariant vector potential for stellator symmetric u component on full grid.
integer, parameter preblock
Block preconditioning flag.
logical l_init_state
Store initial field/pressure state.
real(dp), dimension(:,:,:), pointer fsupumncf
Contravariant force for stellarator symmetric u component on full grid.
real(dp) fsq_gmres
|F|^2 for GMRES iterations.
real(dp) scale_s
FIXME: UNKNOWN.
logical l_printoriginforces
Print forces at the origin.
real(dp), dimension(:,:,:), pointer fsupsmnsf
Contravariant force for stellarator symmetric s component on full grid.
real(dp) fsqvv
|F|^2 for v components.
real(dp) jsupvdota
FIXME: UNKNOWN.
logical lrecon
Output extra information to the restart file that will be used by V3FIT.
real(dp), dimension(:,:,:), pointer asubsmncf
Covariant vector potential for non-stellator symmetric s component on full grid.
logical lequi1
Equilibrate matrix with col 1-norm.
real(dp), dimension(:,:,:), allocatable buv_res
Resonant magnetic field perturbation.
real(dp), parameter levm_ped
FIXME: UNKNOWN.
real(dp), dimension(:,:,:,:), allocatable col_scale
Column scaling factors.
real(dp), dimension(:,:,:), pointer asubsmnsf
Covariant vector potential for stellator symmetric s component on full grid.
integer niter
Total number of iteration to run.
real(dp) wtotal
MHD energy sum of magnetic and thermal.
real(dp), parameter mu_ped
Pedestal value of levenberg/mu. Should be between 10^-5 and 10^-10.
real(dp) jsju_ratio_s
FIXME: UNKNOWN.
logical lcolscale
Apply column scaling to hessian.
real(dp), dimension(:,:,:), pointer fsupumnsf
Contravariant force for stellarator non-symmetric u component on full grid.
integer, parameter gmres_no_peak
GMRES no_peak improvement.
logical l_linearize
Use linearized forces.
real(dp), dimension(:,:,:), allocatable zu_i
dZ/du coordinates of the computational grid.
real(dp), dimension(:), allocatable polflux
Poloidal flux profile.
real(dp), dimension(:,:,:), pointer fsupsmncf
Contravariant force for stellarator non-symmetric s component on full grid.
integer, parameter unit_out
File output io unit.
logical lasym
Use non-stellarator symmetry.
integer nprecon_type
Preconditioner type.
real(dp), dimension(:), allocatable, target gc
1D Array of Fourier mode MHD force components
logical l_update_state
Update the ste array.
real(dp), dimension(:,:,:), pointer asubvmncf
Covariant vector potential for stellator symmetric v component on full grid.
real(dp), dimension(:,:,:), allocatable rv_i
dR/dv coordinates of the computational grid.
real(dp), parameter fsq_res
Threshold force for turning off resistive perturbations.
real(dp), dimension(4) ste
Spectral Truncation RMS error,.
integer nsp
Total radial grid size in the VMEC region.
real(dp) fsqvu
|F|^2 for u components.
real(dp), dimension(:), allocatable xc0
Saved fouier displacements.
real(dp), dimension(12) bs0
FIXME: UNKNOWN.
real(dp) bsbu_ratio_a
FIXME: UNKNOWN.
logical l_getwmhd
Compute MHD energy.
real(dp) fsq_total1
|F|^2 WITHOUT column scaling.
integer ndims
Number of independent variables.
real(dp), dimension(:,:,:), pointer fsupvmncf
Contravariant force for stellarator symmetric v component on full grid.
integer mblk_size
Block size. (mpol + 1)*(2*ntor + 1)*ndims.
logical l_conjgrad
FIXME: UNKNOWN.
integer, parameter prediag
Diagonal preconditioning flag.
real(dp) levm_scale
FIXME: UNKNOWN.
real(dp), dimension(:,:,:), allocatable z1_i
Z coordinates of the computational grid.
real(dp) jsju_ratio_a
FIXME: UNKNOWN.
real(dp), dimension(:,:,:), allocatable ru_i
dR/du coordinates of the computational grid.
real(dp) mupar_test
FIXME UNKNOWN.
This file contains variables and parameters used by many modules in SIESTA.
real(dp) fsqvs
|F|^2 for s components.
real(dp), dimension(:,:,:), pointer asubumnsf
Covariant vector potential for non-stellator symmetric u component on full grid.
integer hesspass_test
Dump block and data files for testing.
real(dp), dimension(:,:,:), pointer fsupvmnsf
Contravariant force for stellarator non-symmetric v component on full grid.
real(dp) wtotal0
Saved MHD energy sum of magnetic and thermal.
real(dp) fsq_lin
Linear |F|^2.
integer neqs
Number of elements in the xc array.
real(dp), dimension(:), allocatable gc0
Saved fouier MHD forces.
integer, parameter ngmres_steps
Max number of gmres steps (10-100) should scale with ns.
logical l_push_v
Solve for v component at origin.