VMEC 8.52
3D Equilibrium solver with nested flux surfaces.
|
Interpolate \(R\), \(Z\) and \(\lambda\) on full grid. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | interp (xnew, xold, scalxc, nsnew, nsold) |
Interpolate \(R\), \(Z\) and \(\lambda\) on full grid. | |
Interpolate \(R\), \(Z\) and \(\lambda\) on full grid.
Definition in file interp.f90.
subroutine interp | ( | real(rprec), dimension(nsnew,mnsize,3*ntmax), intent(out) | xnew, |
real(rprec), dimension(nsold,mnsize,3*ntmax), intent(inout) | xold, | ||
real(rprec), dimension(nsnew,mnsize,3*ntmax), intent(in) | scalxc, | ||
integer, intent(in) | nsnew, | ||
integer, intent(in) | nsold ) |
Interpolate \(R\), \(Z\) and \(\lambda\) on full grid.
xnew | interpolated state vector (nsnew surfaces) |
xold | interpolation basis: old state vector (nsold surfaces) |
scalxc | scaling factors to normalize the new state vector to |
nsnew | new number of flux surfaces |
nsold | old number of flux surfaces |
Definition at line 11 of file interp.f90.
References vmec_persistent::ixm, vmec_dim::mnsize, vmec_input::mpol, vmec_params::ntmax, vmec_dim::ntor1, and dbgout::open_dbg_context().
Referenced by initialize_radial().