Set up values of kx and ky for linear runs that use a single k_perp mode.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real, | private | :: | akx | ||||
real, | private | :: | aky | ||||
real, | private | :: | theta0 | ||||
real, | private | :: | rhostar_single | ||||
integer, | private | :: | n0 | ||||
logical, | private | :: | parameters_read | = | .false. | ||
logical, | private | :: | initialized | = | .false. | ||
real, | private, | parameter | :: | default_unset_value | = | -12345.6789 | |
type(kt_grids_single_config_type), | private | :: | kt_grids_single_config |
Used to represent the input configuration of kt_grids_single
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 | :: | akx | = | default_unset_value |
for the reference species (but recommended to set |
|
real, | public | :: | aky | = | 0.4 |
for the reference species. |
|
integer, | public | :: | n0 | = | 0 |
if |
|
real, | public | :: | rhostar_single | = | 1.0e-4 |
Used in conjunction with |
|
real, | public | :: | theta0 | = | 0.0 |
is the ballooning angle, sets the point in where the radial wavenumber is zero |
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_single_config_type), | intent(in), | optional | :: | kt_grids_single_config_in |
FIXME : Add documentation
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(kt_grids_single_config_type), | intent(in), | optional | :: | kt_grids_single_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 | |||
integer, | intent(out) | :: | ntheta0 | |||
integer, | intent(out) | :: | nx | |||
integer, | intent(out) | :: | ny |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(out), | dimension (:) | :: | aky_out | ||
real, | intent(out), | dimension (:,:) | :: | theta0_out | ||
real, | intent(out), | dimension (:) | :: | akx_out | ||
integer, | intent(out), | dimension (:) | :: | ikx_out |
Discrete kx wavenumber grid indices |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | report_unit |
Set the module level config type Will abort if the module has already been initialised to avoid inconsistencies.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(kt_grids_single_config_type), | intent(in), | optional | :: | kt_grids_single_config_in |
Reads in the kt_grids_single_parameters namelist and populates the member variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kt_grids_single_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_single_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_single_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_single_config_type), | intent(inout) | :: | self |