Working Version with Population update and T+ interactions.
This commit is contained in:
@@ -9,30 +9,24 @@
|
||||
#ifndef interaction_builder_hpp
|
||||
#define interaction_builder_hpp
|
||||
|
||||
|
||||
#include "katrin.hpp"
|
||||
|
||||
|
||||
#include "population.hpp"
|
||||
#include "interaction_processor.hpp"
|
||||
#include "interaction_species.hpp"
|
||||
#include "electron_interactions.hpp"
|
||||
#include "tritium_interactions.hpp"
|
||||
|
||||
class InteractionBuilder : public RNG_Base {
|
||||
Katrin *Kat;
|
||||
|
||||
|
||||
class InteractionBuilder {
|
||||
static const int eT2ionization;
|
||||
static const int eT2elastic;
|
||||
|
||||
public:
|
||||
InteractionBuilder(Katrin *Kat, UniRNG *rngUni, NormalRNG *rngNormal) : RNG_Base(rngUni, rngNormal) {
|
||||
this->Kat = Kat;
|
||||
}
|
||||
InteractionProcessor build_InteractionProcessor();
|
||||
|
||||
InteractionBuilder() {};
|
||||
|
||||
static InteractionProcessor build_InteractionProcessor(Population *Pop, UniRNG *rngUni, NormalRNG *rngNormal);
|
||||
private:
|
||||
ParticleInteractions* build_eInteractions();
|
||||
//ParticleInteractions* build_T2Interactions();
|
||||
static ParticleInteractions* build_eInteractions(Population *Pop, UniRNG *rngUni, NormalRNG *rngNormal);
|
||||
static ParticleInteractions* build_TInteractions(Population *Pop, UniRNG *rngUni, NormalRNG *rngNormal);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user