V3FIT
Functions/Subroutines | Variables
vacuum_input Module Reference

This file contains all the variables and maximum sizes of the inputs for a vacuum 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 vacuum equilibrium should be copied to a vacuum_equilibrium object. All non-parameters are inputs to the namelist input file. More...

Functions/Subroutines

subroutine vacuum_input_read_namelist (namelist_file)
 Reads the namelist input file. More...
 
subroutine vacuum_input_write_namelist (namelist_file)
 Writes the namelist input file. More...
 

Variables

integer, parameter vacuum_max_currents = 1000
 Maximum number of diagnostic signals.
 
character(len=path_length) coils_dot_file = ''
 File name for vacuum namelist input.
 
integer n_extcur = 0
 Number of external currents.
 
real(rprec), dimension(vacuum_max_currentsextcur = 0.0
 External currents.
 
real(rprec), dimension(vacuum_max_currents, 3) cg_shift_1 = 0.0
 Vector to shift all the coils. (Before rotation)
 
real(rprec), dimension(vacuum_max_currentscg_rot_theta = 0.0
 Spherical polar angle to specify axis of rotation.
 
real(rprec), dimension(vacuum_max_currentscg_rot_phi = 0.0
 Spherical azimuthal angle to specify axis of rotation.
 
real(rprec), dimension(vacuum_max_currentscg_rot_angle = 0.0
 Angle to rotate about axis of rotation. NB - LEFT HAND convention. Put left thumb along axis of rotation, fingers indicate direction of positive rotation.
 
real(rprec), dimension(vacuum_max_currents, 3) cg_rot_xcent = 0.0
 Position of center of rotation.
 
logical, dimension(vacuum_max_currentsl_rot_coil_center = .false.
 
real(rprec), dimension(vacuum_max_currents, 3) cg_shift_2 = 0.0
 Vector to shift all the coils. (After rotation)
 

Detailed Description

This file contains all the variables and maximum sizes of the inputs for a vacuum 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 vacuum equilibrium should be copied to a vacuum_equilibrium object. All non-parameters are inputs to the namelist input file.

Namelist vacuum_main_nli definition

Function/Subroutine Documentation

◆ vacuum_input_read_namelist()

subroutine vacuum_input::vacuum_input_read_namelist ( character (len=*), intent(in)  namelist_file)

Reads the namelist input file.

Reads the namelist input file.

Parameters
[in]namelist_fileThe file name of the namelist input file.

Definition at line 152 of file vacuum_input.f.

◆ vacuum_input_write_namelist()

subroutine vacuum_input::vacuum_input_write_namelist ( character (len=*), intent(in)  namelist_file)

Writes the namelist input file.

Writes the namelist input file.

Parameters
[in]namelist_fileThe file name of the namelist input file.

Definition at line 194 of file vacuum_input.f.

Variable Documentation

◆ l_rot_coil_center

logical, dimension(vacuum_max_currents) vacuum_input::l_rot_coil_center = .false.
  • True - use current-averaged center of coil-group for center of rotation.
    • False - use position specified in cg_rot_xcent for center of rotation.

Definition at line 124 of file vacuum_input.f.