XGCa
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 "get_angular_conversion_fac.hpp"
#include "view_arithmetic.hpp"
Include dependency graph for update_analytic_f0_old.cpp:

Functions

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, Smoothing &smoothing, bool f0_update_analytic_local, const View< double *, CLayout, DeviceType > &delta)
 
View< double *, CLayout, DeviceTypeget_mu_fac (const VelocityGrid &vgrid)
 
View< double *, CLayout, DeviceTypeget_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)
 
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, Smoothing &smoothing, 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, const 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, Smoothing &smoothing, const VGridDistribution< DeviceType > &f0_f, const VGridDistribution< DeviceType > &df)
 

Function Documentation

◆ broadcast_from_assigned_rank()

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:

◆ compute_delta_moments()

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:

◆ convert_from_angular_velo()

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:

◆ convert_to_angular_velo()

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:

◆ f0_update_analytic_f0_old()

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,
Smoothing smoothing,
const VGridDistribution< DeviceType > &  f0_f,
const VGridDistribution< DeviceType > &  df 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_mu_fac()

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:

◆ get_node_is_in_bounds()

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:

◆ get_nsurfs_for_avg()

int get_nsurfs_for_avg ( )
Here is the caller graph for this function:

◆ get_vp_fac()

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:

◆ limit_moments()

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:

◆ reduce_to_assigned_rank()

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:

◆ rolling_average_to_n()

void rolling_average_to_n ( int  n,
const View< double *, CLayout, DeviceType > &  surf,
View< double *, CLayout, DeviceType > &  avg_view 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smooth_all_delta()

void smooth_all_delta ( const Grid< DeviceType > &  grid,
Smoothing smoothing,
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:

◆ smooth_delta()

void smooth_delta ( const Grid< DeviceType > &  grid,
Smoothing smoothing,
bool  f0_update_analytic_local,
const View< double *, CLayout, DeviceType > &  delta 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_df()

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,
const VGridDistribution< DeviceType > &  df 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update_species_delta()

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:

◆ write_f0_analytic_to_file()

void write_f0_analytic_to_file ( )
Here is the caller graph for this function: