Stellarator-Tools
v3rfun_input.f File Reference

Contains module v3rfun_input. More...

Modules

module  v3rfun_input
 This file contains all the variables and maximum sizes of the inputs for a V3RFUN namelist input file. The module contained within does not represent an object instance. Instead all variables are contained in a global context. This is required due to limitations of FORTRAN 95 and namelist inputs. Any information needed by a V3RFUN task should be copied to a v3rfun_context object. All non-parameters are inputs to the namelist input file.
 

Functions/Subroutines

subroutine v3rfun_input::v3rfun_input_read_namelist (namelist_file)
 Reads the namelist input file. More...
 

Variables

integer, parameter v3rfun_input::v3rfun_file_length = 120
 Filename length.
 
integer, parameter v3rfun_input::v3rfun_name_length = 25
 Name length.
 
character(len=v3rfun_file_length) v3rfun_input::name_coils_dot = ''
 Filename for the field coils.
 
character(len=v3rfun_file_length) v3rfun_input::name_diagnostic_dot = ''
 Filename for the diagnostic coils.
 
character(len=v3rfun_name_length) v3rfun_input::idrfun = ''
 v3rfun identification for the run.
 
logical v3rfun_input::lstell_sym = .false.
 Control for stellarator symmetry.
 
logical v3rfun_input::l_read_coils_dot = .true.
 Control to ignore the coils dot file.
 
logical v3rfun_input::use_con_shell = .false.
 Computes the response function for a conducting shell.
 
integer v3rfun_input::ir = 101
 Number of radial grid points.
 
integer v3rfun_input::jz = 101
 Number of vertical grid points.
 
integer v3rfun_input::kp = 1
 Number of toroidal grid points.
 
integer v3rfun_input::kp_shell = 1
 Number of shell toroidal grid points.
 
integer v3rfun_input::n_field_periods_nli = 0
 Number of field periods.
 
real(rprec) v3rfun_input::rmin = 0.0
 Minimum R for plasma grid.
 
real(rprec) v3rfun_input::rmax = 0.0
 Maximum R for plasma grid.
 
real(rprec) v3rfun_input::zmin = 0.0
 Minimum Z for plasma grid.
 
real(rprec) v3rfun_input::zmax = 0.0
 Maximum Z for plasma grid.
 
real(rprec) v3rfun_input::major_radius = 0.0
 Shell major radius for shell grid.
 
real(rprec) v3rfun_input::minor_radius = 0.0
 Shell minor radius for shell grid.
 
real(rprec) v3rfun_input::len_integrate_ddc = 0.001
 Integration length in meters.
 
logical, dimension(nigroup) v3rfun_input::is_super_con = .false.
 Tag super conducting coils.
 
real(rprec), dimension(nigroup, 3) v3rfun_input::cg_shift_1 = 0.0
 Vector to shift all the coils before rotation.
 
real(rprec), dimension(nigroup, 3) v3rfun_input::cg_shift_2 = 0.0
 Vector to shift all the coils after rotation.
 
real(rprec), dimension(nigroup, 3) v3rfun_input::cg_rot_xcent = 0.0
 Position of center of rotation.
 
real(rprec), dimension(nigroup) v3rfun_input::cg_rot_theta = 0.0
 Spherical polar angle to specify axis of rotation.
 
real(rprec), dimension(nigroup) v3rfun_input::cg_rot_phi = 0.0
 Spherical azimuthal angle to specify axis of rotation.
 
real(rprec), dimension(nigroup) v3rfun_input::cg_rot_angle = 0.0
 Angle to rotate about axis of rotation. Left hand convention. Put left thumb along axis of rotation, fingers indicate direction of positive rotation.
 
logical, dimension(nigroup) v3rfun_input::l_rot_coil_center = .true.
 Controls the center of rotation. More...
 

Detailed Description

Contains module v3rfun_input.