XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
InitialWeights Struct Reference
Collaboration diagram for InitialWeights:
Collaboration graph
[legend]

Public Member Functions

 InitialWeights ()
 
 InitialWeights (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, NLReader::NamelistReader &nlr)
 
KOKKOS_INLINE_FUNCTION double get (RandGen &rand_gen, double psi, double theta, double phi, double qloc, double initial_deltaf_noise) const
 

Public Attributes

bool resonant_modes
 use field aligned resonant modes More...
 
int resonant_nmax_real
 
int resonant_nmin_real
 
double res_mode_phi_sign
 
int n_modes
 Number of toroidal modes. More...
 
int delta_n
 Spacing between toroidal modes. More...
 
double amp_0
 Amplitude of the n=0 initial perturbation. More...
 
double amp
 Amplitude of the n!=0 initial perturbation. More...
 
double q_sign
 Invert the sign of q in the eikonal. More...
 
double phi_sign
 Invert the sign of toridal direction in the eikonal. More...
 
bool add_zonal
 Include a n=0 component. More...
 
bool radial_gaussian
 Apply a gaussian modulation to the radial profile. More...
 
bool poloidal_gaussian
 Apply a gaussian modulation to the poloidal profile. More...
 
double psi_0
 Center of radial gaussian modulation. More...
 
double sigma_psi
 Width of radial gaussian modulation. More...
 
double theta_0
 Center of poloidal gaussian. More...
 
double sigma_theta
 Width of poloidal gaussian. More...
 
double mode_select_inpsi
 inner boundary for mode selection More...
 
double mode_select_outpsi
 outer boundary for mode selection More...
 
double mode_select_bd_width
 width of boundary envelope More...
 
double SQRT_TWO
 
View< double *, CLayout,
DeviceType
qsafety
 
View< double *, CLayout,
DeviceType
grid_theta
 

Constructor & Destructor Documentation

InitialWeights::InitialWeights ( )
inline
InitialWeights::InitialWeights ( const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
NLReader::NamelistReader nlr 
)
inline

Here is the call graph for this function:

Member Function Documentation

KOKKOS_INLINE_FUNCTION double InitialWeights::get ( RandGen rand_gen,
double  psi,
double  theta,
double  phi,
double  qloc,
double  initial_deltaf_noise 
) const
inline

Here is the caller graph for this function:

Member Data Documentation

bool InitialWeights::add_zonal

Include a n=0 component.

double InitialWeights::amp

Amplitude of the n!=0 initial perturbation.

double InitialWeights::amp_0

Amplitude of the n=0 initial perturbation.

int InitialWeights::delta_n

Spacing between toroidal modes.

View<double*, CLayout, DeviceType> InitialWeights::grid_theta
double InitialWeights::mode_select_bd_width

width of boundary envelope

double InitialWeights::mode_select_inpsi

inner boundary for mode selection

double InitialWeights::mode_select_outpsi

outer boundary for mode selection

int InitialWeights::n_modes

Number of toroidal modes.

double InitialWeights::phi_sign

Invert the sign of toridal direction in the eikonal.

bool InitialWeights::poloidal_gaussian

Apply a gaussian modulation to the poloidal profile.

double InitialWeights::psi_0

Center of radial gaussian modulation.

double InitialWeights::q_sign

Invert the sign of q in the eikonal.

View<double*, CLayout,DeviceType> InitialWeights::qsafety
bool InitialWeights::radial_gaussian

Apply a gaussian modulation to the radial profile.

double InitialWeights::res_mode_phi_sign
bool InitialWeights::resonant_modes

use field aligned resonant modes

int InitialWeights::resonant_nmax_real

Maximal (real, not wedge) toroidal mode number in initial density when using sml_field_aligned_initial=.true. and resonant_modes=.true.

int InitialWeights::resonant_nmin_real

Minimal (real, not wedge) toroidal mode number in initial density when using sml_field_aligned_initial=.true. and resonant_modes=.true.

double InitialWeights::sigma_psi

Width of radial gaussian modulation.

double InitialWeights::sigma_theta

Width of poloidal gaussian.

double InitialWeights::SQRT_TWO
double InitialWeights::theta_0

Center of poloidal gaussian.


The documentation for this struct was generated from the following file: