Changes to Interaction Processor, making possible to add infinite Interactions for all kind of Particles
This commit is contained in:
@@ -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 */
|
||||
Reference in New Issue
Block a user