FIXME : Add documentation
nexp has been changed in a rush. Only known to be correct for nexp=2
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real, | public | :: | D_v | ||||
real, | public | :: | D_eta | ||||
real, | private | :: | D_hypervisc | ||||
real, | private | :: | D_hyperres | ||||
real, | private | :: | omega_osc | ||||
real, | private | :: | D_hyper | ||||
real, | private | :: | akx4_max | ||||
real, | private | :: | aky4_max | ||||
real, | private | :: | aky_max | ||||
real, | private | :: | akperp4_max | ||||
integer, | private | :: | hyper_option_switch | ||||
integer, | public | :: | nexp | ||||
integer, | private, | parameter | :: | hyper_option_none | = | 1 | |
integer, | private, | parameter | :: | hyper_option_visc | = | 2 | |
integer, | private, | parameter | :: | hyper_option_res | = | 3 | |
integer, | private, | parameter | :: | hyper_option_both | = | 4 | |
integer, | private, | parameter | :: | hyper_option_simple3D | = | 5 | |
character(len=9), | private | :: | hyper_option | ||||
logical, | private | :: | const_amp | ||||
logical, | private | :: | include_kpar | ||||
logical, | private | :: | isotropic_shear | ||||
logical, | private | :: | damp_zonal_only | ||||
logical, | private | :: | hyper_on | = | .false. | ||
logical, | private | :: | gridnorm | ||||
real, | public, | dimension (:,:), allocatable | :: | D_res | |||
real, | public, | dimension (:,:,:), allocatable | :: | hypervisc_filter | |||
real, | private | :: | kperp2_max | ||||
real, | private | :: | kperp2_max_zonal | ||||
real, | private | :: | D_hyper3D | ||||
real, | private | :: | P_hyper3D | ||||
real, | private | :: | ky_cut | ||||
real, | private | :: | kx_cut | ||||
logical, | private | :: | isotropic_model | ||||
logical, | private | :: | initialized | = | .false. | ||
type(hyper_config_type), | private | :: | hyper_config |
Used to represent the input configuration of hyper
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 | :: | const_amp | = | .false. |
Determines whether hyperviscosity includes time dependent amplitude
factor when calculating damping rate. Recommend |
|
real, | public | :: | d_hyper | = | -10.0 |
If |
|
real, | public | :: | d_hyper3d | = | -10. |
Used with the simple3D hyperviscosity model of the form D_hyper3D * (|kperp|/ max |kperp|)^P_hyper3D and ky_cut, kx_cut set max |kperp| |
|
real, | public | :: | d_hyperres | = | -10.0 |
Sets hyperresistivity parameter multiplying damping term. |
|
real, | public | :: | d_hypervisc | = | -10.0 |
Sets hyperviscosity parameter multiplying damping term. See E. Belli (2006) thesis for more information. |
|
logical, | public | :: | damp_zonal_only | = | .false. |
If |
|
logical, | public | :: | gridnorm | = | .true. |
If |
|
character(len=9), | public | :: | hyper_option | = | 'default' |
Selects the type of hyper terms included. Should be one of |
|
logical, | public | :: | include_kpar | = | .false. |
Not used. |
|
logical, | public | :: | isotropic_model | = | .true. |
if true damp zonal and drift waves with same dissipation formula |
|
logical, | public | :: | isotropic_shear | = | .true. |
If |
|
real, | public | :: | kx_cut | = | -10. |
Used with the simple3D hyperviscosity model of the form D_hyper3D * (|kperp|/ max |kperp|)^P_hyper3D and ky_cut, kx_cut set max |kperp| |
|
real, | public | :: | ky_cut | = | -10. |
Used with the simple3D hyperviscosity model of the form D_hyper3D * (|kperp|/ max |kperp|)^P_hyper3D and ky_cut, kx_cut set max |kperp| |
|
integer, | public | :: | nexp | = | 2 |
Sets the power to which is raised in the dissipation filter. |
|
real, | public | :: | omega_osc | = | 0.4 |
Sets a parameter in the anisotropic shearing rate calculation. |
|
real, | public | :: | p_hyper3d | = | 4. |
Used with the simple3D hyperviscosity model of the form D_hyper3D * (|kperp|/ max |kperp|)^P_hyper3D and ky_cut, kx_cut set max |kperp| |
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 |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | unit |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(hyper_config_type), | intent(in), | optional | :: | hyper_config_in |
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(hyper_config_type), | intent(in), | optional | :: | hyper_config_in |
FIXME : Add documentation
FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
complex, | intent(inout), | dimension (-ntgrid:,:,g_lo%llim_proc:) | :: | g0 | ||
complex, | intent(in), | dimension (-ntgrid:,:,:) | :: | phi |
FIXME : Add documentation
Set the module level config type Will abort if the module has already been initialised to avoid inconsistencies.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(hyper_config_type), | intent(in), | optional | :: | hyper_config_in |
Reads in the hyper_knobs namelist and populates the member variables
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hyper_config_type), | intent(inout) | :: | self |
Writes out a namelist representing the current state of the config object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hyper_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(hyper_config_type), | intent(inout) | :: | self |
Broadcasts all config parameters so object is populated identically on all processors
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hyper_config_type), | intent(inout) | :: | self |