Calculate the collision stopping power

This commit is contained in:
amandalund 2019-03-02 11:09:44 -06:00
parent fac544b35f
commit f923fc65c4
2 changed files with 169 additions and 104 deletions

View file

@ -96,7 +96,7 @@ public:
private:
//! Calculate density effect correction
double density_effect_correction(double E);
void collision_stopping_power(double* s_col, bool positron);
//! Initialize bremsstrahlung data
void init_bremsstrahlung();
@ -112,6 +112,16 @@ private:
// Non-member functions
//==============================================================================
//! Calculate Sternheimer adjustment factor
double sternheimer_adjustment(std::vector<double>& f, std::vector<double>&
e_b_sq, double e_p_sq, double n_conduction, double log_I, double tol, int
max_iter);
//! Calculate density effect correction
double density_effect(std::vector<double>& f, std::vector<double>& e_b_sq,
double e_p_sq, double n_conduction, double rho, double E, double tol, int
max_iter);
//! Read material data from materials.xml
void read_materials_xml();