Set up sets of (kx, ky) values for linear runs.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | naky | ||||
integer, | private | :: | ntheta0 | ||||
integer, | private | :: | nmodes | ||||
logical, | private | :: | initialized | = | .false. | ||
type(kt_grids_specified_config_type), | private | :: | kt_grids_specified_config | ||||
type(kt_grids_specified_element_config_type), | private, | dimension(:), allocatable | :: | kt_grids_specified_element_config |
Used to represent the input configuration of kt_grids_specified
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? |
|
integer, | public | :: | naky | = | -1 |
Deprecated, set |
|
integer, | public | :: | nmodes | = | 0 |
The number of wavenumber pairs to evolve. One must also set up
the appropriate number of kt_grids_specified_element |
|
integer, | public | :: | ntheta0 | = | -1 |
Deprecated, set |
Used to represent the input configuration of a specific specified wavenumber pair
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 | :: | aky | = | 0.4 |
Sets the value for this wavenumber element. |
|
real, | public | :: | akx | = | 0.0 |
Sets the value for this wavenumber element (but should set |
|
real, | public | :: | theta0 | = | 0.0 |
Sets the value for this wavenumber element. |
Gets the default name for this namelist
Gets the default requires index for this namelist
Get the module level config instance
Gets the default name for this namelist
Gets the default requires index for this namelist
Get the array of module level config instances. If it isn't allocated, then return a zero-length array
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(kt_grids_specified_config_type), | intent(in), | optional | :: | kt_grids_specified_config_in |
FIXME : Add documentation
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_x | |||
integer, | intent(out) | :: | ny_x |
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 |
|
type(kt_grids_specified_element_config_type), | intent(in), | optional, | dimension(:) | :: | kt_grids_specified_element_config_in |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | i | |||
real, | intent(out) | :: | aky | |||
real, | intent(out), | dimension(:) | :: | theta0 | ||
real, | intent(out) | :: | akx | |||
type(kt_grids_specified_element_config_type), | intent(in), | optional, | dimension(:) | :: | kt_grids_specified_element_config_in |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | report_unit | |||
real, | intent(in), | dimension (:) | :: | aky | ||
real, | intent(in), | dimension (:) | :: | theta0 |
Reads in the kt_grids_specified_parameters namelist and populates the member variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kt_grids_specified_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_specified_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_specified_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_specified_config_type), | intent(inout) | :: | self |
Set the module level config instance
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(kt_grids_specified_config_type), | intent(in), | optional | :: | kt_grids_specified_config_in |
Reads in the kt_grids_specified_element namelist and populates the member variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(kt_grids_specified_element_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_specified_element_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_specified_element_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_specified_element_config_type), | intent(inout) | :: | self |
Set the module level config instances
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(kt_grids_specified_element_config_type), | intent(in), | optional, | dimension(:) | :: | kt_grids_specified_element_config_in |