FIXME : Add documentation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | private | :: | initialized | = | .false. | ||
type(eikcoefs_output_type), | private | :: | eikcoefs_results | ||||
integer, | private | :: | ntheta_geometry | ||||
type(theta_grid_eik_config_type), | private | :: | theta_grid_eik_config |
Used to represent the input configuration of theta_grid
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | exist | = | .false. |
Does the related namelist exist in the target input file? |
|
integer, | public | :: | index | = | 0 |
Used to hold the specific index of numbered namelists |
|
logical, | public | :: | skip_read | = | .false. |
Do we want to skip the read step in init? |
|
logical, | public | :: | skip_broadcast | = | .false. |
Do we want to skip the broadcast step in init? |
|
real, | public | :: | alpha_input | = | 0.0 |
Used in calculation of |
|
real, | public | :: | beta_prime_input | = | 0.0 |
The gradient of the pressure. Strictly speaking this parameter
is not but : in other words,
the gradient of the magnetic field is ignored. Used only if
|
|
integer, | public | :: | bishop | = | 5 |
Use Bishop relations to generate metric coefficients. |
|
logical, | public | :: | chs_eq | = | .false. |
Use equilbrium data from the CHEASE file ogyropsi.dat |
|
real, | public | :: | delrho | = | 1e-3 |
Step size for radial derivatives, . Should be "small enough", typically 0.001. |
|
logical, | public | :: | dfit_eq | = | .false. |
Vacuum magnetic dipole geometry |
|
real, | public | :: | dp_mult | = | 1.0 |
Used to scale the pressure gradient, only if bishop = 7 or 8. |
|
logical, | public | :: | efit_eq | = | .false. |
Use EFIT equilibrium (EFIT, codes with eqdsk format) |
|
character(len=EQFILE_LENGTH), | public | :: | eqfile | = | "default_unset_value" |
Name of file with numerical equilibrium data (if required) |
|
character(len=EQFILE_LENGTH), | public | :: | eqnormfile | = | "default_unset_value" |
Name of file with numerical equilibrium normalization data (if required) currently, only used for dipole equilibrium (deq) |
|
logical, | public | :: | equal_arc | = | .true. |
Change field-line coordinate. Recommended value: F |
|
logical, | public | :: | force_sym | = | .false. |
If true then forces up-down symmetry in some geometrical quantities |
|
logical, | public | :: | gen_eq | = | .false. |
Use Toq-style NetCDF equilibrium (TOQ) |
|
logical, | public | :: | gs2d_eq | = | .false. |
Read Colin Roach's GS2D equilibrium file |
|
logical, | public | :: | idfit_eq | = | .false. |
Unknown equilibrium file. You probably don't want this. FIXME: Add documentation |
|
integer, | public | :: | iflux | = | -1 |
Deprecated -- redundant information. |
|
real, | public | :: | invlp_input | = | 0. |
Used with bishop == 3: controls pressure length scale by multiplying |
|
integer, | public | :: | irho | = | 2 |
Choose definition of flux surface coordinate |
|
integer, | public | :: | isym | = | -1 |
Deprecated, see force_sym instead |
|
integer, | public | :: | itor | = | -1 |
Deprecated, see use_large_aspect instead |
|
logical, | public | :: | local_eq | = | .true. |
If |
|
integer, | public | :: | ntheta_geometry | = | -1 |
The number of theta grid points to use in eikcoefs calls. Currently may not have an effect for all equilibrium types. If not set then defaults to ntheta |
|
logical, | public | :: | ppl_eq | = | .false. |
Use Menard-style NetCDF equilibrium (JSOLVER) |
|
real, | public | :: | s_hat_input | = | 0.0 |
Used to overrides s_hat prescribed by the numerical equilibrium, but only if bishop=2,3,4,5,8, or 9. |
|
logical, | public | :: | transp_eq | = | .false. |
Use PPL NetCDF equilibrium (psipqgrz equilibrium from TRANSP/TRXPL) |
|
logical, | public | :: | use_large_aspect | = | .false. |
If true use large aspect ratio expansions in eik geometry to get ~s-alpha |
|
logical, | public | :: | writelots | = | .false. |
Write a little extra about geometry to the screen. |
Gets the default name for this namelist
Gets the default requires index for this namelist
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | unit |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | report_unit | |||
real, | intent(in) | :: | dbetadrho |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | report_unit |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_eik_config_type), | intent(in), | optional | :: | theta_grid_eik_config_in |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | nthetaout | |||
integer, | intent(out) | :: | nperiodout | |||
integer, | intent(out) | :: | nbsetout |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nperiod | |||
integer, | intent(inout) | :: | ntheta | |||
integer, | intent(inout) | :: | ntgrid | |||
integer, | intent(inout) | :: | nbset | |||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | theta | ||
real, | intent(out), | dimension (nbset) | :: | bset | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | bmag | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gradpar | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gbdrift | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gbdrift0 | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | cvdrift | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | cvdrift0 | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | cdrift | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | cdrift0 | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gds2 | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gds21 | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gds22 | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gds23 | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gds24 | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | gds24_noq | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | grho | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | Rplot | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | Zplot | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | Rprime | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | Zprime | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | aplot | ||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | aprime | ||
real, | intent(out) | :: | shat | |||
real, | intent(out) | :: | drhodpsi | |||
real, | intent(out) | :: | kxfac | |||
real, | intent(out) | :: | qval | |||
logical, | intent(in) | :: | gb_to_cv | |||
real, | intent(out), | dimension (-ntgrid:ntgrid) | :: | Bpol | ||
real, | intent(out) | :: | surfarea | |||
real, | intent(out) | :: | dvdrhon | |||
real, | intent(out) | :: | rhoc |
Set the smart defaults for the theta_grid_eik_config_type instance
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(theta_grid_eik_config_type), | intent(inout) | :: | self |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_eik_config_type), | intent(in), | optional | :: | theta_grid_eik_config_in |
Set the module level config type Will abort if the module has already been initialised to avoid inconsistencies.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_eik_config_type), | intent(in), | optional | :: | theta_grid_eik_config_in |
Reads in the theta_grid_eik_knobs namelist and populates the member variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(theta_grid_eik_config_type), | intent(inout) | :: | self |
Writes out a namelist representing the current state of the config object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(theta_grid_eik_config_type), | intent(in) | :: | self | |||
integer, | intent(in), | optional | :: | unit |
Resets the config object to the initial empty state
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(theta_grid_eik_config_type), | intent(inout) | :: | self |
Broadcasts all config parameters so object is populated identically on all processors
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(theta_grid_eik_config_type), | intent(inout) | :: | self |