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) |
void | set_sheath_lost_to_zero () |
double * | get_sheath_pot_loc () |
double * | get_sheath_te_ev_loc () |
double * | get_sheath_lost_loc () |
void | copy_sheath_lost_from_device (double *lost_out) |
void | copy_neutrals_from_device (double *weight_sum_lost_out, double *weight_wall_lost_out) |
void | copy_heat_diagnostics1_from_device_sm2 (double *heat_pv_out, double *heat_pv_psi_out) |
void | copy_heat_diagnostics2_from_device_sm2 (double *heat_pv_psi2_out) |
void | compute_elost_en (Species< DeviceType > &species, const SheathParticles< DeviceType > &sheath_particles, const Kokkos::View< int **, Kokkos::LayoutRight, HostType > &iep0_h, const Kokkos::View< double **, Kokkos::LayoutRight, HostType > &dep_inv_h, const Kokkos::View< double **, Kokkos::LayoutRight, HostType > &sheath_dep_h, const Kokkos::View< double **, Kokkos::LayoutRight, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &sheath_pot_h, const Kokkos::View< double *, Kokkos::LayoutRight, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged >> &sheath_te_ev_h, Kokkos::View< double ***, Kokkos::LayoutRight, HostType > &sheath_elost_en_h, Kokkos::View< double ***, Kokkos::LayoutRight, Kokkos::HostSpace, 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, const SheathParticles< DeviceType > &sheath_particles) |
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 SheathParticles< DeviceType > &sheath_particles, 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, const Sheath< DeviceType > &sheath, const SheathParticles< DeviceType > &sheath_particles, 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, | ||
const SheathParticles< DeviceType > & | sheath_particles | ||
) |
< 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 Kokkos::View< int **, Kokkos::LayoutRight, HostType > & | iep0_h, | ||
const Kokkos::View< double **, Kokkos::LayoutRight, HostType > & | dep_inv_h, | ||
const Kokkos::View< double **, Kokkos::LayoutRight, HostType > & | sheath_dep_h, | ||
const Kokkos::View< double **, Kokkos::LayoutRight, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged >> & | sheath_pot_h, | ||
const Kokkos::View< double *, Kokkos::LayoutRight, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged >> & | sheath_te_ev_h, | ||
Kokkos::View< double ***, Kokkos::LayoutRight, HostType > & | sheath_elost_en_h, | ||
Kokkos::View< double ***, Kokkos::LayoutRight, Kokkos::HostSpace, Kokkos::MemoryTraits< Kokkos::Unmanaged >> & | sheath_lost_h | ||
) |
void copy_heat_diagnostics1_from_device_sm2 | ( | double * | heat_pv_out, |
double * | heat_pv_psi_out | ||
) |
void copy_heat_diagnostics2_from_device_sm2 | ( | double * | heat_pv_psi2_out | ) |
void copy_neutrals_from_device | ( | double * | weight_sum_lost_out, |
double * | weight_wall_lost_out | ||
) |
void copy_sheath_lost_from_device | ( | double * | lost_out | ) |
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 set_sheath_lost_to_zero | ( | ) |
void sheath_adjust_mode2 | ( | const Simulation< DeviceType > & | sml, |
Plasma & | plasma, | ||
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
const Sheath< DeviceType > & | sheath, | ||
const SheathParticles< DeviceType > & | sheath_particles, | ||
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 SheathParticles< DeviceType > & | sheath_particles, | ||
const Neutrals< DeviceType > & | neutrals, | ||
const HeatDiagnostics< DeviceType > & | heat_diag, | ||
int | ipc | ||
) |