XGCa
|
#include "toroidal_average.hpp"
#include "task_group.hpp"
#include "charge_f0.hpp"
#include "update_analytic_f0.hpp"
#include "loadable_buffer.hpp"
#include "update_analytic_f0_old.hpp"
#include "get_angular_conversion_fac.hpp"
Functions | |
void | smooth_pol_wrap (double *input_array, double *output_array) |
void | fourier_filter_m_range_wrap (int smooth_fourier_filt_minm, int smooth_fourier_filt_maxm, double *alpha, double mode_select_inpsi, double mode_select_outpsi, double mode_select_bd_width) |
int | get_nsurfs_for_avg () |
void | write_f0_analytic_to_file () |
void | rolling_average_to_n (int n, const View< double *, CLayout, DeviceType > &surf, View< double *, CLayout, DeviceType > &avg_view) |
void | smooth_delta (const Grid< DeviceType > &grid, bool f0_update_analytic_local, const View< double *, CLayout, DeviceType > &delta) |
View< double *, CLayout, DeviceType > | get_mu_fac (const VelocityGrid &vgrid) |
View< double *, CLayout, DeviceType > | get_vp_fac (const VelocityGrid &vgrid) |
View< bool *, CLayout, DeviceType > | get_node_is_in_bounds (const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field) |
void | compute_delta_moments (const Grid< DeviceType > &grid, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const MagneticField< DeviceType > &magnetic_field, const Species< DeviceType > &species, const VGridDistribution< DeviceType > &f0_f, const VGridDistribution< DeviceType > &df, View< double *, CLayout, DeviceType > &delta_n, View< double *, CLayout, DeviceType > &delta_u, View< double *, CLayout, DeviceType > &delta_T) |
void | convert_to_angular_velo (const View< double *, CLayout, DeviceType > &angular_conversion_fac, View< double *, CLayout, DeviceType > &delta_u) |
void | convert_from_angular_velo (const View< double *, CLayout, DeviceType > &angular_conversion_fac, View< double *, CLayout, DeviceType > &delta_u) |
void | reduce_to_assigned_rank (int assigned_rank, const MPI_Comm &comm, View< double *, CLayout, DeviceType > &delta_n, View< double *, CLayout, DeviceType > &delta_u, View< double *, CLayout, DeviceType > &delta_T) |
void | smooth_all_delta (const Grid< DeviceType > &grid, bool f0_update_analytic_local, View< double *, CLayout, DeviceType > &delta_n, View< double *, CLayout, DeviceType > &delta_u, View< double *, CLayout, DeviceType > &delta_T) |
void | broadcast_from_assigned_rank (int assigned_rank, const MPI_Comm &comm, View< double *, CLayout, DeviceType > &delta_n, View< double *, CLayout, DeviceType > &delta_u, View< double *, CLayout, DeviceType > &delta_T) |
void | limit_moments (const Species< DeviceType > &species, View< double *, CLayout, DeviceType > &delta_n, View< double *, CLayout, DeviceType > &delta_T) |
void | update_df (const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const Species< DeviceType > &species, const View< double *, CLayout, DeviceType > &delta_n, const View< double *, CLayout, DeviceType > &delta_u, const View< double *, CLayout, DeviceType > &delta_T, VGridDistribution< DeviceType > &df) |
void | update_species_delta (const DomainDecomposition< DeviceType > &pol_decomp, const Species< DeviceType > &species, const View< double *, CLayout, DeviceType > &delta_n, const View< double *, CLayout, DeviceType > &delta_u, const View< double *, CLayout, DeviceType > &delta_T, double alpha, const ElectricField< DeviceType > &electric_field, double dpot_te_limit) |
void | f0_update_analytic_f0_old (const Simulation< DeviceType > &sml, const Grid< DeviceType > &grid, const VelocityGrid &vgrid, const DomainDecomposition< DeviceType > &pol_decomp, const MagneticField< DeviceType > &magnetic_field, const ElectricField< DeviceType > &electric_field, Plasma &plasma, const VGridDistribution< DeviceType > &f0_f, const VGridDistribution< DeviceType > &f0g_old) |
void broadcast_from_assigned_rank | ( | int | assigned_rank, |
const MPI_Comm & | comm, | ||
View< double *, CLayout, DeviceType > & | delta_n, | ||
View< double *, CLayout, DeviceType > & | delta_u, | ||
View< double *, CLayout, DeviceType > & | delta_T | ||
) |
void compute_delta_moments | ( | const Grid< DeviceType > & | grid, |
const VelocityGrid & | vgrid, | ||
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
const Species< DeviceType > & | species, | ||
const VGridDistribution< DeviceType > & | f0_f, | ||
const VGridDistribution< DeviceType > & | df, | ||
View< double *, CLayout, DeviceType > & | delta_n, | ||
View< double *, CLayout, DeviceType > & | delta_u, | ||
View< double *, CLayout, DeviceType > & | delta_T | ||
) |
void convert_from_angular_velo | ( | const View< double *, CLayout, DeviceType > & | angular_conversion_fac, |
View< double *, CLayout, DeviceType > & | delta_u | ||
) |
void convert_to_angular_velo | ( | const View< double *, CLayout, DeviceType > & | angular_conversion_fac, |
View< double *, CLayout, DeviceType > & | delta_u | ||
) |
void f0_update_analytic_f0_old | ( | const Simulation< DeviceType > & | sml, |
const Grid< DeviceType > & | grid, | ||
const VelocityGrid & | vgrid, | ||
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
const ElectricField< DeviceType > & | electric_field, | ||
Plasma & | plasma, | ||
const VGridDistribution< DeviceType > & | f0_f, | ||
const VGridDistribution< DeviceType > & | f0g_old | ||
) |
void fourier_filter_m_range_wrap | ( | int | smooth_fourier_filt_minm, |
int | smooth_fourier_filt_maxm, | ||
double * | alpha, | ||
double | mode_select_inpsi, | ||
double | mode_select_outpsi, | ||
double | mode_select_bd_width | ||
) |
View<double*, CLayout, DeviceType> get_mu_fac | ( | const VelocityGrid & | vgrid | ) |
View<bool*, CLayout, DeviceType> get_node_is_in_bounds | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field | ||
) |
int get_nsurfs_for_avg | ( | ) |
View<double*, CLayout, DeviceType> get_vp_fac | ( | const VelocityGrid & | vgrid | ) |
void limit_moments | ( | const Species< DeviceType > & | species, |
View< double *, CLayout, DeviceType > & | delta_n, | ||
View< double *, CLayout, DeviceType > & | delta_T | ||
) |
void reduce_to_assigned_rank | ( | int | assigned_rank, |
const MPI_Comm & | comm, | ||
View< double *, CLayout, DeviceType > & | delta_n, | ||
View< double *, CLayout, DeviceType > & | delta_u, | ||
View< double *, CLayout, DeviceType > & | delta_T | ||
) |
void rolling_average_to_n | ( | int | n, |
const View< double *, CLayout, DeviceType > & | surf, | ||
View< double *, CLayout, DeviceType > & | avg_view | ||
) |
void smooth_all_delta | ( | const Grid< DeviceType > & | grid, |
bool | f0_update_analytic_local, | ||
View< double *, CLayout, DeviceType > & | delta_n, | ||
View< double *, CLayout, DeviceType > & | delta_u, | ||
View< double *, CLayout, DeviceType > & | delta_T | ||
) |
void smooth_delta | ( | const Grid< DeviceType > & | grid, |
bool | f0_update_analytic_local, | ||
const View< double *, CLayout, DeviceType > & | delta | ||
) |
void smooth_pol_wrap | ( | double * | input_array, |
double * | output_array | ||
) |
void update_df | ( | const VelocityGrid & | vgrid, |
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
const Species< DeviceType > & | species, | ||
const View< double *, CLayout, DeviceType > & | delta_n, | ||
const View< double *, CLayout, DeviceType > & | delta_u, | ||
const View< double *, CLayout, DeviceType > & | delta_T, | ||
VGridDistribution< DeviceType > & | df | ||
) |
void update_species_delta | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
const Species< DeviceType > & | species, | ||
const View< double *, CLayout, DeviceType > & | delta_n, | ||
const View< double *, CLayout, DeviceType > & | delta_u, | ||
const View< double *, CLayout, DeviceType > & | delta_T, | ||
double | alpha, | ||
const ElectricField< DeviceType > & | electric_field, | ||
double | dpot_te_limit | ||
) |
void write_f0_analytic_to_file | ( | ) |