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,32 @@
|
||||
//
|
||||
// population3_container.hpp
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 24.05.19.
|
||||
// Copyright © 2019 Christian Reiling. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef population3_container_hpp
|
||||
#define population3_container_hpp
|
||||
|
||||
#include "linScale.h"
|
||||
#include "katrin_geo.hpp"
|
||||
#include "timer.hpp"
|
||||
|
||||
class Pop3_Container {
|
||||
double ***data;
|
||||
Lin_Scale z_scale;
|
||||
Lin_Scale r_scale;
|
||||
Lin_Scale phi_scale;
|
||||
|
||||
public:
|
||||
~Pop3_Container();
|
||||
Pop3_Container(int num_z_bins, int num_r_bins, int num_phi_bins);
|
||||
void increase_value(const double &value, const vec3 &loc_m);
|
||||
void increase_value(const double &value, const vec3 &loc1_m, const vec3 &loc2_m);
|
||||
double get_value (vec3 loc_m);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif /* population3_container_hpp */
|
||||
Reference in New Issue
Block a user