parameters_physics Module

Public subroutines that are read by the main stella routine. Available physics options: These are standard gyrokinetic terms that can be turned on/off with the following toggles. Adiabatic options: This is used when nspec = 1. The non-kinetic species (usually electrons) is set to have an adiabatic response. This can be either the classic adiabatic option, or the modified adiabatic option (i.e. modified Boltzmann electrons).

Additional physics effects Large scale physics options of the system - e.g. whether we have full flux effects, electromagnetic effects, or radially global effects.


                  FINISH READ PARAMETERS                         !

Set the initialised flag to be false such that we do not initialise twice. TODO-HT or TODO-GA: sed: initialised -> initialized



Variables

Type Visibility Attributes Name Initial
logical, public :: include_parallel_streaming
logical, public :: include_mirror
logical, public :: nonlinear
real, public :: xdriftknob
real, public :: ydriftknob
real, public :: wstarknob
integer, public :: adiabatic_option_switch
integer, private, parameter :: adiabatic_option_periodic = 1
integer, private, parameter :: adiabatic_option_zero = 2
integer, public, parameter :: adiabatic_option_fieldlineavg = 3
logical, public :: prp_shear_enabled
logical, public :: hammett_flow_shear
logical, public :: include_pressure_variation
logical, public :: include_geometric_variation
logical, public :: include_parallel_nonlinearity
logical, public :: suppress_zonal_interaction
logical, public :: full_flux_surface
logical, public :: include_apar
logical, public :: include_bpar
logical, public :: radial_variation
real, public :: beta
real, public :: zeff
real, public :: tite
real, public :: nine
real, public :: rhostar
real, private :: irhostar
real, public :: vnew_ref
real, public :: g_exb
real, public :: g_exbfac
real, public :: omprimfac
logical, private :: initialised = .false.
logical, private :: debug = .false.
logical, public :: flip_flop_old
character(len=10), public :: explicit_option_old
logical, public :: time_advance_knob_exists

Subroutines

public subroutine read_parameters_physics()

If not specified in the input file these are the default options that will be set for all parameters under the namelist &parameters_physics'.

Read more…

Arguments

None

public subroutine finish_read_parameters_physics()

Arguments

None