13 character(len=255) :: command_arg, vac_file, vacout_file
14 INTEGER :: numargs, istat1
19 if (numargs.ne.1)
then
20 stop
"usage: xnestor vacin.nc"
22 call getarg(1, command_arg)
24 vac_file = trim(command_arg)
45 write(vac_file,
"(A,I6.6,A)")
"vac/vacout_"//trim(
input_extension)//
"_", &
Input and Output for stand-alone NESTOR.
real(dp), dimension(:), allocatable rmnc
subroutine write_nestor_outputs(vac_file, lasym, ivac, ier_flag)
real(dp), dimension(:), allocatable rmns
character(len=255) input_extension
real(dp), dimension(:), allocatable wint
real(dp), dimension(:), allocatable zaxis
real(dp), dimension(:), allocatable zmns
subroutine read_nestor_inputs(vac_file)
real(dp), dimension(:), allocatable raxis
real(dp), dimension(:), allocatable zmnc
real(dp), dimension(:), allocatable xn
real(dp), dimension(:), allocatable xm
real(dp), dimension(:), allocatable bvecsav_nestor
real(dp), dimension(:), allocatable amatsav_nestor
subroutine set_nestor_sizes(nfp, ntor, mpol, nzeta, ntheta, lasym)
real(rprec), dimension(:), allocatable bvecsav
subroutine allocate_nestor
real(rprec), dimension(:), allocatable amatsav
subroutine free_mem_nestor
program nestor
Main program of stand-alone version of NESTOR.
subroutine vacuum(rmnc, rmns, zmns, zmnc, xm, xn, plascur, rbtor, wint, ivac_skip, ivac, mnmax, ier_flag, lasym, signgs, raxis, zaxis)
Compute the vacuum contribution to the free-boundary energy functional.