|
ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
|
Field mesh, Fourier filtering, and background-electric-field state. More...
#include "globals.hpp"
Public Member Functions | |
| FieldsVariables () | |
| Allocate and zero the explicit toroidal-mode filter. | |
Public Attributes | |
| int | background_diamag_comp = 0 |
| Background diamagnetic compensation selector. | |
| Real | background_efield_const = 0.0 |
| Constant contribution to the background electric field. | |
| Real | background_efield_deltarho = 0.0 |
| Radial width of the background-field transition. | |
| Real | background_efield_size = 0.0 |
| Amplitude of the prescribed radial electric field. | |
| Real | background_efield_sreverse = -1.0 |
| Flow-reversal radius; negative disables reversal. | |
| int | deltam = 0 |
| Half-width of retained coupled poloidal modes. | |
| FilterSaw | filt_saw |
| Sawtooth-specific (n,m) mode restrictions. | |
| int | filtdim = 2 |
| Number of angular dimensions to Fourier-filter. | |
| bool | filter_noise = false |
| Apply the selected noise filter after deposition. | |
| Kokkos::View< int[20]> | filtvaln |
| Explicit retained toroidal mode numbers. | |
| Real | flow_scale = 1.0 |
| Multiplicative scale applied to equilibrium flow. | |
| int | k_offset = 0 |
| Global toroidal-plane offset of this spatial rank. | |
| Real | kthrhomax = 0.0 |
| Maximum retained perpendicular k_theta rho. | |
| int | mfilt1 = -2000 |
| Minimum retained poloidal Fourier mode. | |
| int | mfilt2 = 2000 |
| Maximum retained poloidal Fourier mode. | |
| int | n_flux_tube = 0 |
| Number of toroidal flux-tube sectors. | |
| int | nblocks = 1 |
| Number of radial blocks used by field operations. | |
| int | nchi = 0 |
| Number of poloidal field intervals. | |
| int | nchip = 0 |
| Poloidal grid size including the periodic endpoint. | |
| int | nfilt1 = 0 |
| Minimum retained toroidal Fourier mode. | |
| int | nfilt2 = 8 |
| Maximum retained toroidal Fourier mode. | |
| int | nidbas = 0 |
| B-spline polynomial degree. | |
| bool | nl_compute_fields = false |
| Solve self-consistent fields during the time loop. | |
| bool | nl_gradgyr = false |
| Include gradients of gyroaveraged field quantities. | |
| bool | nl_neoclassical = false |
| Enable axisymmetric neoclassical field treatment. | |
| int | nphi = 0 |
| Number of local toroidal field intervals. | |
| int | nphip = 0 |
| Local toroidal grid size including the periodic endpoint. | |
| int | ns = 0 |
| Number of radial field intervals. | |
| int | nsel_dft_method = 0 |
| Discrete-Fourier-transform implementation selector. | |
| int | nsel_filter = 1 |
| Fourier-filter selector; see NSelFilter. | |
| int | nsel_fix_fields = 0 |
| Selector for externally fixed field components. | |
| int | nsel_getfield = 0 |
| Marker field-interpolation selector. | |
| int | nsel_inner_bc = 2 |
| Magnetic-axis boundary selector; see NSelInnerBC. | |
| int | nsel_noise_filter = 0 |
| Noise-filter stencil selector. | |
| int | nsel_pot_profile = 0 |
| Prescribed potential-profile selector. | |
| int | nsel_setrho = 0 |
| Charge-density deposition selector. | |
| int | nsel_strong = 0 |
| Strong-form/weak-form field-evaluation selector. | |
| Real | sfmax = 0.0 |
| Upper normalized radial boundary of the field mesh. | |
| Real | sfmin = 0.0 |
| Lower normalized radial boundary of the field mesh. | |
| Real | sreverse_smooth = 0.01 |
| Smoothing width around the flow-reversal radius. | |
| int | stride_refresh_larmor = 0 |
| Steps between gyroaveraging-table refreshes; zero uses policy default. | |
Field mesh, Fourier filtering, and background-electric-field state.
Grid counts describe the tensor-product B-spline field representation; particle modules consume the derived periodic extents and mode filters.
|
inline |
Allocate and zero the explicit toroidal-mode filter.
References filtvaln.
| int orb5x::FieldsVariables::background_diamag_comp = 0 |
Background diamagnetic compensation selector.
| Real orb5x::FieldsVariables::background_efield_const = 0.0 |
Constant contribution to the background electric field.
| Real orb5x::FieldsVariables::background_efield_deltarho = 0.0 |
Radial width of the background-field transition.
| Real orb5x::FieldsVariables::background_efield_size = 0.0 |
Amplitude of the prescribed radial electric field.
| Real orb5x::FieldsVariables::background_efield_sreverse = -1.0 |
Flow-reversal radius; negative disables reversal.
| int orb5x::FieldsVariables::deltam = 0 |
Half-width of retained coupled poloidal modes.
| FilterSaw orb5x::FieldsVariables::filt_saw |
Sawtooth-specific (n,m) mode restrictions.
| int orb5x::FieldsVariables::filtdim = 2 |
Number of angular dimensions to Fourier-filter.
| bool orb5x::FieldsVariables::filter_noise = false |
Apply the selected noise filter after deposition.
| Kokkos::View<int[20]> orb5x::FieldsVariables::filtvaln |
Explicit retained toroidal mode numbers.
Referenced by FieldsVariables().
| Real orb5x::FieldsVariables::flow_scale = 1.0 |
Multiplicative scale applied to equilibrium flow.
| int orb5x::FieldsVariables::k_offset = 0 |
Global toroidal-plane offset of this spatial rank.
| Real orb5x::FieldsVariables::kthrhomax = 0.0 |
Maximum retained perpendicular k_theta rho.
| int orb5x::FieldsVariables::mfilt1 = -2000 |
Minimum retained poloidal Fourier mode.
| int orb5x::FieldsVariables::mfilt2 = 2000 |
Maximum retained poloidal Fourier mode.
| int orb5x::FieldsVariables::n_flux_tube = 0 |
Number of toroidal flux-tube sectors.
| int orb5x::FieldsVariables::nblocks = 1 |
Number of radial blocks used by field operations.
| int orb5x::FieldsVariables::nchi = 0 |
Number of poloidal field intervals.
| int orb5x::FieldsVariables::nchip = 0 |
Poloidal grid size including the periodic endpoint.
| int orb5x::FieldsVariables::nfilt1 = 0 |
Minimum retained toroidal Fourier mode.
| int orb5x::FieldsVariables::nfilt2 = 8 |
Maximum retained toroidal Fourier mode.
| int orb5x::FieldsVariables::nidbas = 0 |
B-spline polynomial degree.
| bool orb5x::FieldsVariables::nl_compute_fields = false |
Solve self-consistent fields during the time loop.
| bool orb5x::FieldsVariables::nl_gradgyr = false |
Include gradients of gyroaveraged field quantities.
| bool orb5x::FieldsVariables::nl_neoclassical = false |
Enable axisymmetric neoclassical field treatment.
| int orb5x::FieldsVariables::nphi = 0 |
Number of local toroidal field intervals.
| int orb5x::FieldsVariables::nphip = 0 |
Local toroidal grid size including the periodic endpoint.
| int orb5x::FieldsVariables::ns = 0 |
Number of radial field intervals.
| int orb5x::FieldsVariables::nsel_dft_method = 0 |
Discrete-Fourier-transform implementation selector.
| int orb5x::FieldsVariables::nsel_filter = 1 |
Fourier-filter selector; see NSelFilter.
| int orb5x::FieldsVariables::nsel_fix_fields = 0 |
Selector for externally fixed field components.
| int orb5x::FieldsVariables::nsel_getfield = 0 |
Marker field-interpolation selector.
| int orb5x::FieldsVariables::nsel_inner_bc = 2 |
Magnetic-axis boundary selector; see NSelInnerBC.
| int orb5x::FieldsVariables::nsel_noise_filter = 0 |
Noise-filter stencil selector.
| int orb5x::FieldsVariables::nsel_pot_profile = 0 |
Prescribed potential-profile selector.
| int orb5x::FieldsVariables::nsel_setrho = 0 |
Charge-density deposition selector.
| int orb5x::FieldsVariables::nsel_strong = 0 |
Strong-form/weak-form field-evaluation selector.
| Real orb5x::FieldsVariables::sfmax = 0.0 |
Upper normalized radial boundary of the field mesh.
| Real orb5x::FieldsVariables::sfmin = 0.0 |
Lower normalized radial boundary of the field mesh.
| Real orb5x::FieldsVariables::sreverse_smooth = 0.01 |
Smoothing width around the flow-reversal radius.
| int orb5x::FieldsVariables::stride_refresh_larmor = 0 |
Steps between gyroaveraging-table refreshes; zero uses policy default.