XGC1
|
Functions | |
void | sheath_adjust_mode2_p2 (int ipc) |
void | calculate_sheath_dep (double *sheath_dep, double *sheath_dep_inv) |
void | find_sheath_pot (double *dep, double *loss_shift, int *iep0, double *q_loss0, double *q_minmax, int *solved, double *sheath_dep, double *sheath_elost_en) |
void | distribute_leftover_charge (int iref, int iref_max, int *solved, double *loss_shift, double *q_minmax, int *num_solved, int *num_failed, double *q_avail, double *delta_q, int *num_rebalanced) |
double * | get_sheath_pot_loc () |
double * | get_sheath_te_ev_loc () |
double * | get_sheath_lost_loc () |
void | compute_elost_en (Species< DeviceType > &species, const SheathParticles< DeviceType > &sheath_particles, const View< int **, CLayout, HostType > &iep0_h, const View< double **, CLayout, HostType > &dep_inv_h, const View< double **, CLayout, HostType > &sheath_dep_h, const View< double **, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &sheath_pot_h, const View< double *, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &sheath_te_ev_h, View< double ***, CLayout, HostType > &sheath_elost_en_h, View< double **, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &sheath_lost_h) |
void | adjust_sheath_pot (const Simulation< DeviceType > &sml, Plasma &plasma, const Grid< DeviceType > &grid, const Sheath< DeviceType > &sheath) |
void | sheath_mode2_deposition_diagnostics_and_w1 (const Simulation< DeviceType > &sml, Species< DeviceType > &species, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const Sheath< DeviceType > &sheath, const Neutrals< DeviceType > &neutrals, const HeatDiagnostics< DeviceType > &heat_diag, int ipc) |
void | sheath_adjust_mode2 (const Simulation< DeviceType > &sml, Plasma &plasma, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, Sheath< DeviceType > &sheath, const Neutrals< DeviceType > &neutrals, const HeatDiagnostics< DeviceType > &heat_diag, int ipc) |
void adjust_sheath_pot | ( | const Simulation< DeviceType > & | sml, |
Plasma & | plasma, | ||
const Grid< DeviceType > & | grid, | ||
const Sheath< DeviceType > & | sheath | ||
) |
< energy distribution of electron charge loss
void calculate_sheath_dep | ( | double * | sheath_dep, |
double * | sheath_dep_inv | ||
) |
void compute_elost_en | ( | Species< DeviceType > & | species, |
const SheathParticles< DeviceType > & | sheath_particles, | ||
const View< int **, CLayout, HostType > & | iep0_h, | ||
const View< double **, CLayout, HostType > & | dep_inv_h, | ||
const View< double **, CLayout, HostType > & | sheath_dep_h, | ||
const View< double **, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged >> & | sheath_pot_h, | ||
const View< double *, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged >> & | sheath_te_ev_h, | ||
View< double ***, CLayout, HostType > & | sheath_elost_en_h, | ||
View< double **, CLayout, HostType, Kokkos::MemoryTraits< Kokkos::Unmanaged >> & | sheath_lost_h | ||
) |
void distribute_leftover_charge | ( | int | iref, |
int | iref_max, | ||
int * | solved, | ||
double * | loss_shift, | ||
double * | q_minmax, | ||
int * | num_solved, | ||
int * | num_failed, | ||
double * | q_avail, | ||
double * | delta_q, | ||
int * | num_rebalanced | ||
) |
void find_sheath_pot | ( | double * | dep, |
double * | loss_shift, | ||
int * | iep0, | ||
double * | q_loss0, | ||
double * | q_minmax, | ||
int * | solved, | ||
double * | sheath_dep, | ||
double * | sheath_elost_en | ||
) |
double* get_sheath_lost_loc | ( | ) |
double* get_sheath_pot_loc | ( | ) |
double* get_sheath_te_ev_loc | ( | ) |
void sheath_adjust_mode2 | ( | const Simulation< DeviceType > & | sml, |
Plasma & | plasma, | ||
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
Sheath< DeviceType > & | sheath, | ||
const Neutrals< DeviceType > & | neutrals, | ||
const HeatDiagnostics< DeviceType > & | heat_diag, | ||
int | ipc | ||
) |
void sheath_adjust_mode2_p2 | ( | int | ipc | ) |
void sheath_mode2_deposition_diagnostics_and_w1 | ( | const Simulation< DeviceType > & | sml, |
Species< DeviceType > & | species, | ||
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
const Sheath< DeviceType > & | sheath, | ||
const Neutrals< DeviceType > & | neutrals, | ||
const HeatDiagnostics< DeviceType > & | heat_diag, | ||
int | ipc | ||
) |