XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
sheath_adjust.cpp File Reference
#include "timer_macro.hpp"
#include "sheath_adjust.hpp"
Include dependency graph for sheath_adjust.cpp:

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)
 

Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

void calculate_sheath_dep ( double *  sheath_dep,
double *  sheath_dep_inv 
)

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void copy_heat_diagnostics1_from_device_sm2 ( double *  heat_pv_out,
double *  heat_pv_psi_out 
)

Here is the caller graph for this function:

void copy_heat_diagnostics2_from_device_sm2 ( double *  heat_pv_psi2_out)

Here is the caller graph for this function:

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 
)

Here is the caller graph for this function:

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 
)

Here is the caller graph for this function:

double* get_sheath_lost_loc ( )

Here is the caller graph for this function:

double* get_sheath_pot_loc ( )
double* get_sheath_te_ev_loc ( )

Here is the caller graph for this function:

void set_sheath_lost_to_zero ( )

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void sheath_adjust_mode2_p2 ( int  ipc)

Here is the caller graph for this function:

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 
)

Here is the call graph for this function:

Here is the caller graph for this function: