Major changes:

- Moved to array operations for main loops.
- Changed to setting pointers to operator only once before loop.
- Changed Population Containers
- Added Recombination
- Added Inelastic Scattering Kinematics
- Reworked Elastic Scattering Cross Section
- Reworked Elastic Scattering Kinematics
- Reworked organisation of different particle species and corresponding operators
This commit is contained in:
Christian
2019-05-27 13:46:59 +02:00
parent 0f2a5625a2
commit ac83bae061
50 changed files with 1057 additions and 2374 deletions
+8 -10
View File
@@ -7,19 +7,17 @@
//
#include <iostream>
#include <map>
#include <deque>
#include <sstream>
#include "tcs_container.hpp"
#include "dcs_container.hpp"
using namespace std;
int main() {
clock_t start;
UniRNG rngUni;
TCS_Container tcs_data = TCS_Container(1e-5, 2e4, 1e3, getDataPath() + "eT2_TCS_ela_concat.dat");
DCS_Theta_Container dcs_data = DCS_Theta_Container(1e-5, 2e4, 1e3, 200, getDataPath() + "eT2_DCS_ela_concat.dat");
int *test;
test = new int[3];
test[2] = 3;
cout<<test[7];
//tcs_data.debug();
std::cout<<tcs_data.get_value(0)<<"\n";
}