XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends 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)
 
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)
 

Function Documentation

void adjust_sheath_pot ( const Simulation< DeviceType > &  sml,
Plasma plasma,
const Grid< DeviceType > &  grid,
const Sheath< DeviceType > &  sheath 
)

< 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 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 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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 ( )
double* get_sheath_pot_loc ( )
double* get_sheath_te_ev_loc ( )

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,
Sheath< DeviceType > &  sheath,
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 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: