prlgrm_pts.m¶
Basic Information¶
SYNTAX: prlgrm = prlgrm_pts(rz_end,t);
PURPOSE: make efit type parallegram from rz end points and thickness
INPUT:
rz_end= array of [r,z] end points to construct parallegram
t = thickness (array) same size as rz_end or scaler
OUTPUT:
prlgrm = [Z;R;dZ;dR;AC;AC2] (see figure 6-4 GA-A14490)
note size(plgrm,1) = size(rz_end)-1
Note: This routine automatically uses Type 1 parallograms for angles <=45
and Type 2 parallograms for angles >45