Multiple Changes:
Conceptional Change, where terminated Particles were set to Energy = 0. Now Particles are just moved within mover and termination detects, position and starts Interaction only if particle remains in tank. Added function_container: Filled with anker points and get values corresponding to input by interpolation. 2D Interpolation needs improvement. CSV-Read in function needs error checks of input file. Changes in katrin class: Boris Push and Drift Approximation improved. Minor Renamings.
This commit is contained in:
@@ -12,22 +12,23 @@
|
||||
|
||||
#include "constants.hpp"
|
||||
|
||||
#include "blitz/array.h"
|
||||
#include "blitz/tinyvec2.h"
|
||||
#include <blitz/array.h>
|
||||
#include <blitz/tinyvec2.h>
|
||||
#include <random/uniform.h>
|
||||
#include <random/normal.h>
|
||||
|
||||
typedef blitz::TinyVector<double,3> vec3;
|
||||
|
||||
|
||||
double calc_vecAbs(blitz::TinyVector<double,3> vec);
|
||||
double calc_Speed_from_Ekin_eV(double Ekin_eV, double mass_eV);
|
||||
double calc_gamma_from_Ekin_eV(double Ekin_eV, double mass_eV);
|
||||
double calc_beta_from_gamma(double gamma);
|
||||
double calc_Ekin_eV_from_speed(double Speed, double mass_eV);
|
||||
double calc_gamma_from_beta(double beta);
|
||||
double get_vecAbs(vec3 vec);
|
||||
|
||||
vec3 calc_Newdirection(vec3 oldDir, double theta,double phi);
|
||||
double get_Speed_from_Ekin_eV(double Ekin_eV, double mass_eV);
|
||||
double get_gamma_from_Ekin_eV(double Ekin_eV, double mass_eV);
|
||||
double get_beta_from_gamma(double gamma);
|
||||
double get_Ekin_eV_from_speed(double Speed, double mass_eV);
|
||||
double get_gamma_from_beta(double beta);
|
||||
|
||||
vec3 get_Newdirection(vec3 oldDir, double theta,double phi);
|
||||
|
||||
vec3 roll_uniform_direction(ranlib::Uniform<double> *rngUni);
|
||||
double roll_MBEnergy(double Temp_K,double mass_eV,ranlib::NormalUnit<double> *rngNormal);
|
||||
|
||||
Reference in New Issue
Block a user