Major changes:
- Added individul operators for species and better selecting process. - Switched to C arrays for main loop operations and calculating array indizes using knowledge of binning instead of doing sorted search - Added Recombination - Reworked elastic scattering kinematics - Added inelastic scattering kinematics
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
//
|
||||
// terminator_builder.cpp
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 19.05.19.
|
||||
// Copyright © 2019 Christian Reiling. All rights reserved.
|
||||
//
|
||||
|
||||
#include "terminator_builder.hpp"
|
||||
|
||||
#include "electron_terminator.h"
|
||||
#include "tritiumI_terminator.h"
|
||||
#include "tritium2I_terminator.h"
|
||||
|
||||
#include "read_system.h"
|
||||
|
||||
const int Terminator_Builder::maxInteractions = getParameter("maxInteractions");
|
||||
const double Terminator_Builder::cutoffEnergy_eV = getParameter("cutoffEnergy_eV");
|
||||
|
||||
|
||||
Terminator_Manager Terminator_Builder::build() {
|
||||
Terminator_Manager Terminator;
|
||||
Terminator.add(new E_Terminator(maxInteractions, cutoffEnergy_eV));
|
||||
Terminator.add(new TI_Terminator(maxInteractions, cutoffEnergy_eV));
|
||||
Terminator.add(new T2I_Terminator(maxInteractions, cutoffEnergy_eV));
|
||||
return (Terminator);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user