Prepared structure for precalculating values.

Reduced number of energy bins and intergration precision to 5.
This commit is contained in:
Christian
2019-11-14 14:01:40 +01:00
parent aef20ad949
commit 584b78914a
31 changed files with 230 additions and 88 deletions
+2 -2
View File
@@ -12,13 +12,13 @@
#include "tcs_container.hpp"
#include "dcs_base.h"
class Excitation_Base : public Sub_Interaction_Base {
class Excitation_Base : public e_thermal_Interaction_Base {
DCS_Base *dcs_gen;
protected:
double deltaE_eV;
public:
Excitation_Base(Population_Base *Population, UniRNG *rngUni, double deltaE_eV, DCS_Base *dcs_gen) : Sub_Interaction_Base(Population, rngUni) {
Excitation_Base(Population_Base *Population, UniRNG *rngUni, double deltaE_eV, DCS_Base *dcs_gen) : e_thermal_Interaction_Base(Population, rngUni) {
this->deltaE_eV = deltaE_eV;
this->dcs_gen = dcs_gen;
}