Stellarator-Tools
v3rfun.f File Reference

Contains the main routines for V3RFUN. More...

Functions/Subroutines

program v3rfun
 The V3RFUN code is part of a suite of codes, called V3FIT, designed for equilibrium reconstruction of stellarator plasmas. It takes as input descriptions of the field coils and diagnostic coils, and generates files containing the coil and plasma response functions and the plasma response functions. The output files from the V3RFUN code are designed to be used as input to the V3FIT code. Physical quantities in the V3FIT project are measured in SI units, unless otherwise specified. More...
 
character(len=v3rfun_file_length) function v3rfun_parse_command_line ()
 Parse command line arguments. More...
 
subroutine v3rfun_print_help ()
 Print out help text. More...
 

Detailed Description

Contains the main routines for V3RFUN.

Function/Subroutine Documentation

◆ v3rfun()

program v3rfun

The V3RFUN code is part of a suite of codes, called V3FIT, designed for equilibrium reconstruction of stellarator plasmas. It takes as input descriptions of the field coils and diagnostic coils, and generates files containing the coil and plasma response functions and the plasma response functions. The output files from the V3RFUN code are designed to be used as input to the V3FIT code. Physical quantities in the V3FIT project are measured in SI units, unless otherwise specified.

Author
James D. Hanson
Mark Cianciosa

Below is a brief discription of the major top level objects of the code. For discriptions of lower level objects consult the referenced top level objects.

V3RFUN main program.

Highest level V3RFUN routine.

◆ v3rfun_parse_command_line()

character (len=v3rfun_file_length) function v3rfun_parse_command_line

Parse command line arguments.

The command line arguments are simple. Expect either the -h flag or read the namelist input filename. If any other argument is encountered display the help and terminate the program.

Returns
The namelist input filename.

◆ v3rfun_print_help()

subroutine v3rfun_print_help

Print out help text.

Command line help text should take the form of '-flag'. A Y or N indicating the flag takes a value or not followed by a space. A short message describing the flag. A reference for all the command line arguments can be found at FIXME.