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

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.
 

Detailed Description

Interpolate \(R\), \(Z\) and \(\lambda\) on full grid.

Definition in file interp.f90.

Function/Subroutine Documentation

◆ interp()

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.

Parameters
xnewinterpolated state vector (nsnew surfaces)
xoldinterpolation basis: old state vector (nsold surfaces)
scalxcscaling factors to normalize the new state vector to
nsnewnew number of flux surfaces
nsoldold 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().

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