Skip to content

write_cc_file.m

Basic Information

  USAGE:  [cc_filename,ier] = write_cc_file(equilibria);

  PURPOSE: return absolute path to newly generated cc_file

  INPUTS:  filename:name of geqdsk file

  OUTPUTS: cc_filename: string containing name of cc_file

  RESTRICTIONS:

  METHOD:

     cc_file=  coil current file name [cc=load(cc_file)] or coil current vector
               use when coil currents not available from efit (or to override)

               ohmic coil current is first, then poloidal shaping currents
        (units = MA-turns)

  WRITTEN BY:  Matthew J. Lanctot

Dependencies