XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
fourier_filter.cpp File Reference
#include "fourier_filter.hpp"
Include dependency graph for fourier_filter.cpp:

Functions

void fourier_filter_wrap (double *view)
 
double * get_grid_qsafety_loc ()
 
double * get_grid_sol_fourier_win_loc ()
 
double * get_grid_theta_loc ()
 
int * get_grid_theta_sort_idx_loc ()
 
int * get_grid_m_max_surf_loc ()
 
int get_grid_surf_maxlen ()
 
int * get_grid_surf_len_loc ()
 
int * get_grid_surf_idx_loc ()
 
int get_sml_sep_surf_index ()
 
int get_nsurf_sol ()
 
int get_filter_nsurf ()
 
int get_grid_num_non_aligned ()
 
int * get_grid_non_aligned_vert_loc ()
 
int * get_grid_non_aligned_ff_idx_loc ()
 
double * get_grid_non_aligned_ff_w_loc ()
 
UniformRange construct_theta_coords (const View< double *, CLayout, HostType > &theta, int n_points, bool periodic)
 
void get_separatrix_start_len (const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, int sep_surf_index, int &i0_sep, int &len_sep)
 
KOKKOS_INLINE_FUNCTION int nearest_int (double x)
 
void set_m_limit (const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, Plasma &plasma, const View< bool *, CLayout, HostType > &run_filter, double mode_select_max_kth_rho, const View< int *, CLayout, HostType > &m_limit)
 
void set_is_periodic (const MagneticField< DeviceType > &magnetic_field, const Grid< DeviceType > &grid, const View< bool *, CLayout, HostType > &run_filter, int sep_surf_index, const View< bool *, CLayout, HostType > &is_periodic)
 
double get_damp_fac (const FourierFilter::Options &options, double psi)
 
void reverse_fft (const View< double *, CLayout, HostType > &theta, const View< Complex *, CLayout, HostType > &spec, int n_points, int minm, int maxm, const View< double *, CLayout, HostType > &x)
 
void map_back (bool use_blend_window, const View< int *, CLayout, HostType > &node_mapping, const View< double *, CLayout, HostType > &win, const View< double *, CLayout, HostType > &x_ordered, double damp_fac, const View< double *, CLayout, HostType > &x)
 
int get_dir (int b_sign, const Grid< DeviceType > &grid, int ntor_real)
 
void map_x (const View< int *, CLayout, HostType > &node_mapping, const View< double **, CLayout, HostType > &x_in, const View< double **, CLayout, HostType > &x_ordered)
 
void band_pass_filter (int minm, int maxm, const View< Complex *, CLayout, HostType > &spec)
 
void filter_scrapeoff_layer (FourierFilter::ScrapeOffLayerMethod sol_method, const View< Complex *, CLayout, HostType > &spec)
 
void discard_non_resonant (int minm, int maxm, int dir, const View< Complex **, CLayout, HostType > &spec)
 
void fourier_filter_set_nonaligned (const Grid< DeviceType > &grid, const View< double **, CLayout, HostType > &x)
 
void fourier_filter (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const View< double *, CLayout, HostType > &view)
 

Function Documentation

void band_pass_filter ( int  minm,
int  maxm,
const View< Complex *, CLayout, HostType > &  spec 
)

Here is the caller graph for this function:

UniformRange construct_theta_coords ( const View< double *, CLayout, HostType > &  theta,
int  n_points,
bool  periodic 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void discard_non_resonant ( int  minm,
int  maxm,
int  dir,
const View< Complex **, CLayout, HostType > &  spec 
)

Here is the caller graph for this function:

void filter_scrapeoff_layer ( FourierFilter::ScrapeOffLayerMethod  sol_method,
const View< Complex *, CLayout, HostType > &  spec 
)

Here is the caller graph for this function:

void fourier_filter ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const View< double *, CLayout, HostType > &  view 
)

Here is the call graph for this function:

void fourier_filter_set_nonaligned ( const Grid< DeviceType > &  grid,
const View< double **, CLayout, HostType > &  x 
)

Here is the call graph for this function:

void fourier_filter_wrap ( double *  view)
double get_damp_fac ( const FourierFilter::Options options,
double  psi 
)

Here is the caller graph for this function:

int get_dir ( int  b_sign,
const Grid< DeviceType > &  grid,
int  ntor_real 
)

Here is the caller graph for this function:

int get_filter_nsurf ( )

Here is the caller graph for this function:

int* get_grid_m_max_surf_loc ( )

Here is the caller graph for this function:

int* get_grid_non_aligned_ff_idx_loc ( )
double* get_grid_non_aligned_ff_w_loc ( )

Here is the caller graph for this function:

int* get_grid_non_aligned_vert_loc ( )
int get_grid_num_non_aligned ( )
double* get_grid_qsafety_loc ( )

Here is the caller graph for this function:

double* get_grid_sol_fourier_win_loc ( )

Here is the caller graph for this function:

int* get_grid_surf_idx_loc ( )

Here is the caller graph for this function:

int* get_grid_surf_len_loc ( )

Here is the caller graph for this function:

int get_grid_surf_maxlen ( )

Here is the caller graph for this function:

double* get_grid_theta_loc ( )

Here is the caller graph for this function:

int* get_grid_theta_sort_idx_loc ( )

Here is the caller graph for this function:

int get_nsurf_sol ( )

Here is the caller graph for this function:

void get_separatrix_start_len ( const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
int  sep_surf_index,
int &  i0_sep,
int &  len_sep 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int get_sml_sep_surf_index ( )

Here is the caller graph for this function:

void map_back ( bool  use_blend_window,
const View< int *, CLayout, HostType > &  node_mapping,
const View< double *, CLayout, HostType > &  win,
const View< double *, CLayout, HostType > &  x_ordered,
double  damp_fac,
const View< double *, CLayout, HostType > &  x 
)

Here is the caller graph for this function:

void map_x ( const View< int *, CLayout, HostType > &  node_mapping,
const View< double **, CLayout, HostType > &  x_in,
const View< double **, CLayout, HostType > &  x_ordered 
)

Here is the caller graph for this function:

KOKKOS_INLINE_FUNCTION int nearest_int ( double  x)

Here is the caller graph for this function:

void reverse_fft ( const View< double *, CLayout, HostType > &  theta,
const View< Complex *, CLayout, HostType > &  spec,
int  n_points,
int  minm,
int  maxm,
const View< double *, CLayout, HostType > &  x 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void set_is_periodic ( const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
const View< bool *, CLayout, HostType > &  run_filter,
int  sep_surf_index,
const View< bool *, CLayout, HostType > &  is_periodic 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void set_m_limit ( const MagneticField< DeviceType > &  magnetic_field,
const Grid< DeviceType > &  grid,
Plasma plasma,
const View< bool *, CLayout, HostType > &  run_filter,
double  mode_select_max_kth_rho,
const View< int *, CLayout, HostType > &  m_limit 
)

Here is the call graph for this function:

Here is the caller graph for this function: