FIXME : Add documentation
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real, | public, | dimension (:), allocatable | :: | theta | |||
real, | public, | dimension (:), allocatable | :: | theta2 | |||
real, | public, | dimension (:), allocatable | :: | delthet | |||
real, | public, | dimension (:), allocatable | :: | delthet2 | |||
real, | public, | dimension (:), allocatable | :: | bset | |||
real, | public, | dimension (:), allocatable | :: | bmag | |||
real, | public, | dimension (:), allocatable | :: | gradpar | |||
real, | public, | dimension (:), allocatable | :: | itor_over_B | |||
real, | public, | dimension (:), allocatable | :: | IoB | |||
real, | public, | dimension (:), allocatable | :: | gbdrift | |||
real, | public, | dimension (:), allocatable | :: | gbdrift0 | |||
real, | public, | dimension (:), allocatable | :: | cvdrift | |||
real, | public, | dimension (:), allocatable | :: | cvdrift0 | |||
real, | public, | dimension (:), allocatable | :: | cdrift | |||
real, | public, | dimension (:), allocatable | :: | cdrift0 | |||
real, | public, | dimension (:), allocatable | :: | gds2 | |||
real, | public, | dimension (:), allocatable | :: | gds21 | |||
real, | public, | dimension (:), allocatable | :: | gds22 | |||
real, | public, | dimension (:), allocatable | :: | gds23 | |||
real, | public, | dimension (:), allocatable | :: | gds24 | |||
real, | public, | dimension (:), allocatable | :: | gds24_noq | |||
real, | public, | dimension (:), allocatable | :: | grho | |||
real, | public, | dimension (:), allocatable | :: | jacob | |||
real, | public, | dimension (:), allocatable | :: | Rplot | |||
real, | public, | dimension (:), allocatable | :: | Zplot | |||
real, | public, | dimension (:), allocatable | :: | aplot | |||
real, | public, | dimension (:), allocatable | :: | Bpol | |||
real, | public, | dimension (:), allocatable | :: | Rprime | |||
real, | public, | dimension (:), allocatable | :: | Zprime | |||
real, | public, | dimension (:), allocatable | :: | aprime | |||
real, | public | :: | bmin | ||||
real, | public | :: | bmax | ||||
real, | public | :: | eps_trapped | ||||
real, | public | :: | shat | ||||
real, | public | :: | drhodpsi | ||||
real, | public | :: | kxfac | ||||
real, | public | :: | qval | ||||
real, | private | :: | cvdriftknob | ||||
real, | private | :: | gbdriftknob | ||||
real, | public | :: | surfarea | ||||
real, | public | :: | dvdrhon | ||||
real, | public | :: | rhoc | ||||
integer, | public | :: | ntheta | ||||
integer, | public | :: | ntgrid | ||||
integer, | public | :: | nperiod | ||||
integer, | public | :: | nbset | ||||
logical, | public | :: | gb_to_cv | ||||
real, | private, | parameter | :: | smallest_non_zero_shear | = | 1.0e-5 | |
integer, | private | :: | eqopt_switch | ||||
integer, | private, | parameter | :: | eqopt_eik | = | 1 | |
integer, | private, | parameter | :: | eqopt_salpha | = | 2 | |
integer, | private, | parameter | :: | eqopt_file | = | 3 | |
integer, | private, | parameter | :: | eqopt_file_nc | = | 4 | |
character(len=8), | public | :: | shape | ||||
logical, | public | :: | initialized | = | .false. | ||
real, | private | :: | field_line_average_weight | ||||
type(theta_grid_config_type), | private | :: | theta_grid_config |
Calculates the field line / theta average of a passed quantity
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension(:) | :: | quantity |
Calculates the field line / theta average of a passed quantity
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:) | :: | quantity |
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? |
|
logical, | public | :: | skip_smart_defaults | = | .false. |
Do we want to skip the smaart defaults in init? |
|
character(len=20), | public | :: | equilibrium_option | = | "default" |
The equilibrium_option variable controls which geometric assumptions are used in the run. Additional namelists determine the geometric parameters according to the choice made here. Allowed values are: |
|
real, | public | :: | gbdriftknob | = | 1.0 |
Scales the grad-B drift. |
|
real, | public | :: | cvdriftknob | = | 1.0 |
Scales the curvature drift. |
|
logical, | public | :: | gb_to_cv | = | .false. |
If true then force grad-B drift to be equal to curvature
drift. This is not recommended when |
Calculates the field line / theta average of a passed quantity
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | dimension(:) | :: | quantity |
Calculates the field line / theta average of a passed quantity
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(in), | dimension(:) | :: | quantity |
Helper function to determine if the shear is small enough that we consider it to be zero for the purposes of periodicity etc.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in), | optional | :: | shear_in |
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) | :: | report_unit | |||
real, | intent(in) | :: | alne | |||
real, | intent(in) | :: | dbetadrho |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | unit |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_config_type), | intent(in), | optional | :: | theta_grid_config_in | ||
type(theta_grid_gridgen_config_type), | intent(in), | optional | :: | theta_grid_gridgen_config_in | ||
type(theta_grid_salpha_config_type), | intent(in), | optional | :: | theta_grid_salpha_config_in | ||
type(theta_grid_file_config_type), | intent(in), | optional | :: | theta_grid_file_config_in | ||
type(theta_grid_eik_config_type), | intent(in), | optional | :: | theta_grid_eik_config_in |
FIXME : Add documentation
FIXME : Add documentation
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_config_type), | intent(in), | optional | :: | theta_grid_config_in |
FIXME : Add documentation
FIXME : Add documentation
FIXME : Add documentation
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_gridgen_config_type), | intent(in), | optional | :: | theta_grid_gridgen_config_in | ||
type(theta_grid_salpha_config_type), | intent(in), | optional | :: | theta_grid_salpha_config_in | ||
type(theta_grid_file_config_type), | intent(in), | optional | :: | theta_grid_file_config_in | ||
type(theta_grid_eik_config_type), | intent(in), | optional | :: | theta_grid_eik_config_in |
FIXME : Add documentation
Reads in the theta_grid_knobs namelist and populates the member variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(theta_grid_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_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_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_config_type), | intent(inout) | :: | self |
Set the module level config instance
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_config_type), | intent(in), | optional | :: | theta_grid_config_in |