ud329 - interpolate between two or three points¶
- subroutine ud329(mele, ja, jb, jtmp, mgeo, npt, ifail)¶
- Parameters:
mele (*) [zseg,in] :: field line segment
ja [integer4,in] :: index of the first point
jb [integer4,in] :: index of the last point
jtmp [integer4,in] :: index of another point
mgeo (npt) [zpnt,in] :: interpolated points (including the points indiced by
ja
andjb
)npt [integer4,in] :: number of points
ifail [integer4,out] :: error flag (see Diagnostics)
Description¶
The subroutine
ud329()
interpolatesnpt-2
points along a magnetic field line segment. The indices of the points are passed by the argumentsja
,jb
andjtmp
. If the argumentjtmp
is set to a value less than zero, the subroutine makes a linear interpolation between the two pointsmele(ja)
andmele(jb)
. Otherwise, a parabolic interpolation is applied. The magnetic field vector is evaluated at the interpolated points.
History¶
The subroutine UD329 does not exist in version 1.05 and earlier.
Diagnostics¶
-32901, wrong value of the argument
npt
-32902, -32903, not separated points
Common Blocks¶
None
Dependencies¶
Called by¶
Calls¶
See also¶
None
Reported Bugs¶
None
Examples¶
None
UNILIB/tags/v3.02