V3FIT
Functions/Subroutines | Variables
siesta_namelist Module Reference

This file contains all the variables and maximum sizes of the inputs for a SIESTA 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. More...

Functions/Subroutines

subroutine siesta_namelist_read (namelist_file)
 Reads the namelist input file. More...
 
subroutine siesta_namelist_write (namelist_file)
 Writes the namelist input file. More...
 

Variables

integer, parameter siesta_namelist_name_length = 256
 Input string length.
 
logical ladd_pert = .TRUE.
 Use helical perturbation.
 
logical lresistive = .TRUE.
 Use resistive perturbaton.
 
logical lrestart = .FALSE.
 Restart SIESTA from pervious run.
 
logical l_tracing = .FALSE.
 Produce output file for fieldline tracing.
 
logical l_silo_output = .FALSE.
 Produce silo output.
 
logical l_silo3d = .FALSE.
 Produce silo 3D output.
 
logical l_output_alliter = .FALSE.
 Write output files on all iterations.
 
logical l_vmec_uniform
 FIXME: Unknown.
 
logical l_vessel = .FALSE.
 If extended grid is to be used using an available vessel file.
 
integer niter = 10
 Maximum number of iterations after diagonal prec.
 
real(dp) ftol = 1.E-20_dp
 Force tolarance.
 
real(dp) eta_factor = 1.E-2_dp
 Resistivity value.
 
integer nprecon = 0
 Skip diagonal preconditioner if greater than zero.
 
integer, dimension(20) mres = 0
 Sizes of the helical perturbation.
 
real(dp), dimension(20) helpert = 0.0
 Sizes of the helical perturbation.
 
real(dp), dimension(20) helperta = 0.0
 Sizes of the helical perturbation.
 
integer nsin = 101
 Radial size of the plasma grid.
 
integer nsin_ext = 0
 Radial size of the extended grid.
 
integer mpolin = 12
 Number of poloidal modes.
 
integer ntorin = 3
 Number of toroidal modes.
 
integer nfpin = 0
 Number of field periods to use. -1 means set this to the value in the wout file.
 
integer nphis = 2
 Number of cylindrical phi planes.
 
integer nrs = 200
 Number of radial grid points.
 
integer nzs = 200
 Number of vertical grid points.
 
integer nvs = 150
 Number of flux space toroidal points.
 
integer nus = 150
 Number of flux space poloidal points.
 
integer nss = 100
 Number of flux space radial points.
 
character(len=siesta_namelist_name_lengthwout_file = ''
 Filename of the VMEC woutfile.
 
character(len=siesta_namelist_name_lengthrestart_ext = ''
 Name of the restart file extension.
 
character(len=siesta_namelist_name_lengthmgrid_file = ''
 Filename of the VMEC woutfile.
 
character(len=siesta_namelist_name_lengthvessel_file = ''
 Name of the restart file extension.
 

Detailed Description

This file contains all the variables and maximum sizes of the inputs for a SIESTA 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.

Namelist siesta_info definition

Note
Some of the references are missing here. This is due to a bug in Doxygen when variable decalarations span multiple lines.

Function/Subroutine Documentation

◆ siesta_namelist_read()

subroutine siesta_namelist::siesta_namelist_read ( 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 230 of file siesta_namelist.f90.

◆ siesta_namelist_write()

subroutine siesta_namelist::siesta_namelist_write ( 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 279 of file siesta_namelist.f90.