Use output from rungridgen
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=run_name_size), | private | :: | gridout_file | ||||
real, | private | :: | shat_input | ||||
real, | private | :: | drhodpsi_input | ||||
real, | private | :: | kxfac_input | ||||
real, | private | :: | qval_input | ||||
logical, | private | :: | no_geo_info | = | .false. | ||
integer, | public | :: | ntheta | ||||
integer, | public | :: | nperiod | ||||
integer, | public | :: | ntgrid | ||||
integer, | public | :: | nbset | ||||
logical, | private | :: | initialized | = | .false. | ||
type(theta_grid_file_config_type), | private | :: | theta_grid_file_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? |
|
character(len=run_name_size), | public | :: | gridout_file | = | "grid.out" |
Name of file with output from rungridgen. |
|
logical, | public | :: | no_geo_info | = | .false. |
If false, read |
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 |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | report_unit |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_file_config_type), | intent(in), | optional | :: | theta_grid_file_config_in |
FIXME : Add documentation
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_file_config_type), | intent(in), | optional | :: | theta_grid_file_config_in |
FIXME : Add documentation
FIXME : Add documentation
FIXME : Add documentation DD> Should jacob also be provided by this routine?
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 |
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 module level config type Will abort if the module has already been initialised to avoid inconsistencies.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(theta_grid_file_config_type), | intent(in), | optional | :: | theta_grid_file_config_in |
Reads in the theta_grid_file_knobs namelist and populates the member variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(theta_grid_file_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_file_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_file_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_file_config_type), | intent(inout) | :: | self |