Skip to content

expand_fils.m

Basic Information

  SYNTAX:  nufils = expand_fils(fils,rwnorm,Rref)

  PURPOSE:
    Expand filaments in minor radial position according to rwnorm
    (eg creates marginal wall position with rwnorm=rwmarginal/rwactual)
    in toroidal geometry.

  INPUTS:
    fils = filament array
    rwnorm = marginal wall minor radial position normalized to rw_actual
        (rwnorm=rwmarginal/rwactual; ref'd at midplane)
    Rref = major radius of reference pt (z=0 taken to be the vertical posit.
        of the reference point) from which expansion happens

  OUTPUTS:
    nufils = new (expanded) filaments

  RESTRICTIONS:
    rwnorm must not be large enough to cause the *inboard* wall to cross
    the machine center line (for the moment): no safeguard is provided in
    present version to prevent this...

  METHOD:

Dependencies