XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
update_analytic_f0_old.cpp File Reference
#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 dependency graph for update_analytic_f0_old.cpp:

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)
 
void convert_grid_2_001d_wrap (double *input, double *output)
 
void convert_001d_2_grid_wrap (double *input, double *output)
 
int get_grid_npsi_surf ()
 
double * get_grid_bfield_loc ()
 
int get_nsurfs_for_avg ()
 
void write_f0_analytic_to_file ()
 
void rolling_average_to_n (int n, const View< double *, CLayout, HostType > &surf, View< double *, CLayout, HostType > &avg_view)
 
void smooth_delta (bool f0_update_analytic_local, const View< double *, CLayout, DeviceType > &delta_d)
 
void iterative_max_gyroaverage (Matrix< DeviceType > &gyromatrix, bool print_residual, View< double *, CLayout, DeviceType > &view)
 
View< double *, CLayout,
DeviceType
get_mu_fac (const VelocityGrid &vgrid)
 
View< double *, CLayout,
DeviceType
get_vp_fac (const VelocityGrid &vgrid)
 
View< bool *, CLayout, DeviceTypeget_node_is_in_bounds (const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field)
 
View< double *, CLayout,
DeviceType
get_angular_conversion_fac (const Grid< DeviceType > &grid)
 
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 (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_with_gyroaverage (const Matrix< HostType > &gyromatrix_h, bool print_residual, View< double *, CLayout, DeviceType > &delta_n)
 
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 find_rank_with_gyromatrix (const DomainDecomposition< DeviceType > &pol_decomp, int nphi, int nrho, int target_irho, int &rank_with_gyromatrix, int &gyro_avg_mat_index)
 
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< HostType > &f0_f_h, VGridDistribution< HostType > &df_h)
 

Function Documentation

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 
)

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void convert_001d_2_grid_wrap ( double *  input,
double *  output 
)
void convert_from_angular_velo ( const View< double *, CLayout, DeviceType > &  angular_conversion_fac,
View< double *, CLayout, DeviceType > &  delta_u 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void convert_grid_2_001d_wrap ( double *  input,
double *  output 
)
void convert_to_angular_velo ( const View< double *, CLayout, DeviceType > &  angular_conversion_fac,
View< double *, CLayout, DeviceType > &  delta_u 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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< HostType > &  f0_f_h,
VGridDistribution< HostType > &  df_h 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void find_rank_with_gyromatrix ( const DomainDecomposition< DeviceType > &  pol_decomp,
int  nphi,
int  nrho,
int  target_irho,
int &  rank_with_gyromatrix,
int &  gyro_avg_mat_index 
)

Here is the caller graph for this function:

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_angular_conversion_fac ( const Grid< DeviceType > &  grid)

Here is the call graph for this function:

Here is the caller graph for this function:

double* get_grid_bfield_loc ( )
int get_grid_npsi_surf ( )
View<double*, CLayout, DeviceType> get_mu_fac ( const VelocityGrid vgrid)

Here is the call graph for this function:

Here is the caller graph for this function:

View<bool*, CLayout, DeviceType> get_node_is_in_bounds ( const DomainDecomposition< DeviceType > &  pol_decomp,
const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int get_nsurfs_for_avg ( )

Here is the caller graph for this function:

View<double*, CLayout, DeviceType> get_vp_fac ( const VelocityGrid vgrid)

Here is the call graph for this function:

Here is the caller graph for this function:

void iterative_max_gyroaverage ( Matrix< DeviceType > &  gyromatrix,
bool  print_residual,
View< double *, CLayout, DeviceType > &  view 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void limit_moments ( const Species< DeviceType > &  species,
View< double *, CLayout, DeviceType > &  delta_n,
View< double *, CLayout, DeviceType > &  delta_T 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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 
)

Here is the caller graph for this function:

void rolling_average_to_n ( int  n,
const View< double *, CLayout, HostType > &  surf,
View< double *, CLayout, HostType > &  avg_view 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void smooth_all_delta ( bool  f0_update_analytic_local,
View< double *, CLayout, DeviceType > &  delta_n,
View< double *, CLayout, DeviceType > &  delta_u,
View< double *, CLayout, DeviceType > &  delta_T 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void smooth_delta ( bool  f0_update_analytic_local,
const View< double *, CLayout, DeviceType > &  delta_d 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void smooth_pol_wrap ( double *  input_array,
double *  output_array 
)
void smooth_with_gyroaverage ( const Matrix< HostType > &  gyromatrix_h,
bool  print_residual,
View< double *, CLayout, DeviceType > &  delta_n 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void write_f0_analytic_to_file ( )