Set up ranges of kx and ky for linear runs.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | naky | ||||
integer, | private | :: | ntheta0 | ||||
integer, | private | :: | nn0 | ||||
integer, | private | :: | n0_min | ||||
integer, | private | :: | n0_max | ||||
real, | private | :: | aky_min | ||||
real, | private | :: | aky_max | ||||
real, | private | :: | theta0_min | ||||
real, | private | :: | theta0_max | ||||
real, | private | :: | akx_min | ||||
real, | private | :: | akx_max | ||||
real, | private | :: | rhostar_range | ||||
character(len=20), | private | :: | kyspacing_option | ||||
integer, | private | :: | kyspacingopt_switch | ||||
logical, | private | :: | parameters_read | = | .false. | ||
logical, | private | :: | initialized | = | .false. | ||
integer, | private, | parameter | :: | kyspacingopt_linear | = | 1 | |
integer, | private, | parameter | :: | kyspacingopt_exp | = | 2 | |
type(kt_grids_range_config_type), | private | :: | kt_grids_range_config |
Used to represent the input configuration of kt_grids_range
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? |
|
real, | public | :: | akx_max | = | 0.0 |
Max kx for periodic finite kx ballooning space runs with . |
|
real, | public | :: | akx_min | = | 0.0 |
Min kx for periodic finite kx ballooning space runs with . |
|
real, | public | :: | aky_max | = | 0.0 |
Upper limit of range. Should set to something other than zero. |
|
real, | public | :: | aky_min | = | 0.0 |
Lower limit of range. Should typically set to something other than zero. |
|
character(len=20), | public | :: | kyspacing_option | = | 'default' |
Sets the type of spacing between ky grid points, available options are : |
|
integer, | public | :: | n0_max | = | 0 |
Maximum toroidal mode number. Can use instead of |
|
integer, | public | :: | n0_min | = | 0 |
Minimum toroidal mode number. Can use instead of |
|
integer, | public | :: | naky | = | 1 |
The number of 'actual' ky modes. |
|
integer, | public | :: | nn0 | = | 1 |
Number of toroidal modes, only used if |
|
integer, | public | :: | ntheta0 | = | 1 |
Number of (kx) modes |
|
real, | public | :: | rhostar_range | = | 1.0e-4 |
Used to convert |
|
real, | public | :: | theta0_max | = | 0.0 |
Upper limit of |
|
real, | public | :: | theta0_min | = | 0.0 |
Lower limit of |
Gets the default name for this namelist
Gets the default requires index for this namelist
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(kt_grids_range_config_type), | intent(in), | optional | :: | kt_grids_range_config_in |
FIXME : Add documentation
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(kt_grids_range_config_type), | intent(in), | optional | :: | kt_grids_range_config_in |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | unit |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | naky_x | |||
integer, | intent(out) | :: | ntheta0_x | |||
integer, | intent(out) | :: | nx | |||
integer, | intent(out) | :: | ny |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(out), | dimension (:) | :: | aky | ||
real, | intent(out), | dimension (:,:) | :: | theta0 | ||
real, | intent(out), | dimension (:) | :: | akx | ||
integer, | intent(out), | dimension (:) | :: | ikx |
Discrete kx wavenumber grid indices |
FIXME : Add documentation DD>Calculate the kt grids
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | report_unit |
Reads in the kt_grids_range_parameters namelist and populates the member variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kt_grids_range_config_type), | intent(inout) | :: | self |
Writes out a namelist representing the current state of the config object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kt_grids_range_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(kt_grids_range_config_type), | intent(inout) | :: | self |
Broadcasts all config parameters so object is populated identically on all processors
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kt_grids_range_config_type), | intent(inout) | :: | self |
Set the module level config instance
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(kt_grids_range_config_type), | intent(in), | optional | :: | kt_grids_range_config_in |