Skip to content

green_paths2pts.m

Basic Information

  SYNTAX:  [Gr, Gz, Gt] = green_paths2pts(pts,Paths)

  PURPOSE:

  INPUTS:
    pts = pts geometry array (npts x 3) (columns are R,Z,phi;
        R,Z in m; phi=tor angle in radians).
    Paths = {npaths,1} cell array of (nfils,6) matrices specifying
            paths in circuit. OR can be a
            *single* path, described by a filament *array*

  OUTPUTS:
    Gr,Gz,Gt = (npts,npaths) Green fun matrices from all paths in
        Paths to all pts in pts (all equally weighted). [H]

  RESTRICTIONS:
    NOTE WELL: Paths matrices MUST be in FILC format!!!! (ie use fil_to_filc
    *first* before calling this function...)

  METHOD:

Dependencies