Changes to Interaction Processor, making possible to add infinite Interactions for all kind of Particles

This commit is contained in:
Christian
2019-04-29 13:09:58 +02:00
parent c44bdacb2c
commit e07c03c888
42 changed files with 1599 additions and 1174 deletions
+39
View File
@@ -0,0 +1,39 @@
//
// interaction_builder.hpp
// mc_electron
//
// Created by Christian Reiling on 29.04.19.
// Copyright © 2019 Christian Reiling. All rights reserved.
//
#ifndef interaction_builder_hpp
#define interaction_builder_hpp
#include "katrin.hpp"
#include "functions.hpp"
#include "interaction_processor.hpp"
#include "interaction_species.hpp"
#include "electron_interactions.hpp"
class InteractionBuilder : public RNG_Base {
Katrin *Kat;
static const int ionOn;
static const int elaOn;
public:
InteractionBuilder(Katrin *Kat, UniRNG *rngUni, NormalRNG *rngNormal) : RNG_Base(rngUni, rngNormal) {
this->Kat = Kat;
}
InteractionProcessor build_InteractionProcessor();
private:
ParticleInteractions* build_eInteractions();
ParticleInteractions* build_T2Interactions();
};
#endif /* interaction_builder_hpp */