VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
Loading...
Searching...
No Matches
initialize_radial.f90 File Reference

Allocates memory for radial arrays and initializes radial profiles. More...

Go to the source code of this file.

Functions/Subroutines

subroutine initialize_radial (nsval, ns_old, delt0)
 Allocates memory for radial arrays and initializes radial profiles.
 

Detailed Description

Allocates memory for radial arrays and initializes radial profiles.

Definition in file initialize_radial.f90.

Function/Subroutine Documentation

◆ initialize_radial()

subroutine initialize_radial ( integer, intent(in) nsval,
integer, intent(inout) ns_old,
real(rprec), intent(out) delt0 )

Allocates memory for radial arrays and initializes radial profiles.

Parameters
nsvalnew number of flux surfaces
ns_oldold number of flux surfaces (from previous multi-grid iteration)
delt0time step to be used in the new multi-grid iteration

Definition at line 9 of file initialize_radial.f90.

References allocate_ns(), vmec_main::first, vmec_main::fsq, vmec_main::ftolv, xstuff::gc, vmec_main::hs, vmec_main::ijacob, interp(), vmec_main::irzloff, vmec_main::iter1, vmec_main::iter2, vmec_main::neqs, vmec_main::niterv, vmec_params::ntmax, vmec_main::num_eqsolve_retries, vmec_main::ohs, profil1d(), profil3d(), vmec_main::res0, restart_iter(), xstuff::scalxc, xstuff::xc, xstuff::xcdot, and xstuff::xstore.

Referenced by vmec().

Here is the call graph for this function:
Here is the caller graph for this function: