XGCa
|
#include "fourier_filter.hpp"
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) |
UniformRange construct_theta_coords | ( | const View< double *, CLayout, HostType > & | theta, |
int | n_points, | ||
bool | periodic | ||
) |
void discard_non_resonant | ( | int | minm, |
int | maxm, | ||
int | dir, | ||
const View< Complex **, CLayout, HostType > & | spec | ||
) |
void filter_scrapeoff_layer | ( | FourierFilter::ScrapeOffLayerMethod | sol_method, |
const View< Complex *, CLayout, HostType > & | spec | ||
) |
void fourier_filter | ( | const Grid< DeviceType > & | grid, |
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
const View< double *, CLayout, HostType > & | view | ||
) |
void fourier_filter_set_nonaligned | ( | const Grid< DeviceType > & | grid, |
const View< double **, CLayout, HostType > & | x | ||
) |
void fourier_filter_wrap | ( | double * | view | ) |
double get_damp_fac | ( | const FourierFilter::Options & | options, |
double | psi | ||
) |
int get_dir | ( | int | b_sign, |
const Grid< DeviceType > & | grid, | ||
int | ntor_real | ||
) |
int get_filter_nsurf | ( | ) |
int* get_grid_m_max_surf_loc | ( | ) |
int* get_grid_non_aligned_ff_idx_loc | ( | ) |
double* get_grid_non_aligned_ff_w_loc | ( | ) |
int* get_grid_non_aligned_vert_loc | ( | ) |
int get_grid_num_non_aligned | ( | ) |
double* get_grid_qsafety_loc | ( | ) |
double* get_grid_sol_fourier_win_loc | ( | ) |
int* get_grid_surf_idx_loc | ( | ) |
int* get_grid_surf_len_loc | ( | ) |
int get_grid_surf_maxlen | ( | ) |
double* get_grid_theta_loc | ( | ) |
int* get_grid_theta_sort_idx_loc | ( | ) |
int get_nsurf_sol | ( | ) |
void get_separatrix_start_len | ( | const MagneticField< DeviceType > & | magnetic_field, |
const Grid< DeviceType > & | grid, | ||
int | sep_surf_index, | ||
int & | i0_sep, | ||
int & | len_sep | ||
) |
int get_sml_sep_surf_index | ( | ) |
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 | ||
) |
void map_x | ( | const View< int *, CLayout, HostType > & | node_mapping, |
const View< double **, CLayout, HostType > & | x_in, | ||
const View< double **, CLayout, HostType > & | x_ordered | ||
) |
KOKKOS_INLINE_FUNCTION int nearest_int | ( | double | x | ) |
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 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 | ||
) |
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 | ||
) |