File plasma_wall.cpp¶
FileList > hexapic > source > plasma_wall.cpp
Boundary conditions and plasma–wall interaction (sheath models, secondary emission, reflection).More...
#include "hexapic.hpp"
Public Functions¶
| Type | Name | 
|---|---|
| void | PSI_init ()  |  
| bool | boundary_in_rank (int bound_i)  |  
| PetscScalar | gamma (PetscScalar E, PetscScalar sigmd, PetscScalar gamma0, PetscScalar E0, PetscScalar Ep, int sec_type)  |  
| void | inject_secondary (int sp1, int sp2, int inj_type, PetscScalar & E, PetscScalar T0, int rank, int dir, PetscScalar xy_along, PetscScalar z)  |  
| void | particle_wall_interaction (int cell_i, int sp, int p_i, int lrbt)  |  
| void | random_order (std::vector< int > & order, int n)  |  
| void | reflect_particle (int cell_i, int sp, int p_i, int rank, int dir)  |  
| void | secondary_emission (PetscScalar & E, PetscScalar sigmd, int sp, int sec_i, int rank, int dir, PetscScalar xy_along, PetscScalar z)  |  
| void | sigmd_E (PetscScalar & sigmd, PetscScalar & E, int cell_i, int sp, int p_i, int dir)  |  
| void | wall_interaction (int cell_i, int sp, int p_i, int rank, int dir)  |  
Detailed Description¶
Copyright:
Copyright © 2025
Public Functions Documentation¶
function PSI_init¶
function boundary_in_rank¶
function gamma¶
PetscScalar gamma (
    PetscScalar E,
    PetscScalar sigmd,
    PetscScalar gamma0,
    PetscScalar E0,
    PetscScalar Ep,
    int sec_type
) 
function inject_secondary¶
void inject_secondary (
    int sp1,
    int sp2,
    int inj_type,
    PetscScalar & E,
    PetscScalar T0,
    int rank,
    int dir,
    PetscScalar xy_along,
    PetscScalar z
) 
function particle_wall_interaction¶
function random_order¶
function reflect_particle¶
function secondary_emission¶
void secondary_emission (
    PetscScalar & E,
    PetscScalar sigmd,
    int sp,
    int sec_i,
    int rank,
    int dir,
    PetscScalar xy_along,
    PetscScalar z
)