Skip to content

lim2vv.m

Basic Information

  SYNTAX: [vvdata,dirnu,iacnu,fracnu]=lim2vv(limdata,dperp,dw,idir,frac,iac);

  PURPOSE:
    Calculate vessel elements from limiter specification given by
    limdata = set of vertices in limiter, between which will be located
    vessel elements.

  INPUTS:
    limdata = set of vertices in limiter, between which will be located
        vessel elements. limdata has format [[r1 z1];[r2 z2]...]
    dperp = amount vessel elements are displaced from limiter
    dw = width of vessel elements
    idir = (optional) direction indices corr to each vessel element
        (nvv = nlim - 1). Default corresponds to +1; reverses
        direction of wall displacement if set element of idir to -1.
    frac = (optional) fraction by which to scale each VVelement
    iac = (optional) indices telling if AC or AC2 type element.
        Default = all AC (index 1) elements. Note that automatically
        sets vertical or horizontal elements to type 0...

  OUTPUTS:
    vvdata = vvdata array with standard format
    idirnu = new idir vector (actually used)
    iacnu = new iac vector (which was used in specifying actual vvdata)
    fracnu = new frac vector (actually used)
    plots of corresponding geometry

  RESTRICTIONS:

  METHOD:

Dependencies