Working Version with Population update and T+ interactions.

This commit is contained in:
Christian
2019-05-08 13:03:10 +02:00
parent 2f764c4812
commit 0f2a5625a2
63 changed files with 1353 additions and 646 deletions
-20
View File
@@ -6,42 +6,22 @@
// Copyright © 2018 Christian Reiling. All rights reserved.
//
#include "particle.hpp"
using namespace std;
// Overload <<
ostream& operator<<(ostream& os, const species& SpecOut) {
switch (SpecOut) {
case undef:
os<<"undef";
break;
case electron:
os<<"e-";
break;
case positron:
os<<"e+";
break;
case proton:
os<<"p";
break;
case tritium:
os<<"T3";
break;
case tritium2:
os<<"T_2";
break;
case helium:
os<<"He3";
break;
case deuterium:
os<<"D2";
break;
case DT:
os<<"DT";
break;
default:
os<<"";
}