Changes in general code and added class energyhisto for
This commit is contained in:
@@ -1,41 +1,21 @@
|
||||
//
|
||||
// main.cpp
|
||||
//
|
||||
// mc_electron
|
||||
//
|
||||
// Created by Christian Reiling on 13.09.18.
|
||||
// Created by Christian Reiling on 20.09.18.
|
||||
// Copyright © 2018 Christian Reiling. All rights reserved.
|
||||
//
|
||||
//Notes: SI-system
|
||||
|
||||
//Tasks:
|
||||
// 1. Take in account tritium density for location distribution
|
||||
// 2. Take in account tritium flow speed for speed distribution
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include "blitz/array.h"
|
||||
#include "blitz/tinyvec2.h"
|
||||
|
||||
|
||||
#include "parameter.h"
|
||||
#include "simulation.h"
|
||||
#include "particle.h"
|
||||
#include "katrin.h"
|
||||
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
int main(int argc, const char * argv[]) {
|
||||
char poub[]="poub=/Users/ChristianReiling/Documents/Masterarbeit/katrin-plasma/src/mc_electron";
|
||||
char pname[]="pname=parameters";
|
||||
putenv(poub);
|
||||
putenv(pname);
|
||||
|
||||
Simulation SIM;
|
||||
SIM.init();
|
||||
SIM.inject();
|
||||
/*
|
||||
cout <<"___"<<endl;
|
||||
TinyVector<float,2> A;
|
||||
A = 1,0;
|
||||
cout << TinyVector<float,2>(1,0)<<endl;
|
||||
cout<<"___"<<endl;
|
||||
*/
|
||||
SIM.doit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user