Removed WGTS_Flow_Speed, since using simulated data now.
This commit is contained in:
@@ -56,8 +56,7 @@ void Population_Load_Saver::write_overhead(ofstream *save_stream) {
|
||||
|
||||
*save_stream<<load_parameter("wgtsT2MaxDensity_m3")<<"\t";
|
||||
*save_stream<<load_parameter("wgtsTemp_K")<<"\t";
|
||||
*save_stream<<load_parameter("wgtsT2FlowSpeed_ms")<<"\t";
|
||||
*save_stream<<" #1. wgtsT2MaxDensity_m3 2. wgtsTemp_K 3. wgtsT2FlowSpeed_ms \n";
|
||||
*save_stream<<" #1. wgtsT2MaxDensity_m3 2. wgtsTemp_K \n";
|
||||
|
||||
*save_stream<<"# Start of populations data \n";
|
||||
*save_stream<<"# z_bin \t r_bin \t phi_bin \t E_bin \t cumulated_times_s \t number_annhilated \n";
|
||||
@@ -192,7 +191,7 @@ void Population_Load_Saver::check_katrin_geo_line(ifstream *load_stream) {
|
||||
}
|
||||
|
||||
void Population_Load_Saver::check_katrin_T2_line(ifstream *load_stream) {
|
||||
double wgtsT2MaxDensity_m3, wgtsTemp_K, wgtsT2FlowSpeed_ms;
|
||||
double wgtsT2MaxDensity_m3, wgtsTemp_K;
|
||||
*load_stream>>wgtsT2MaxDensity_m3;
|
||||
if ( wgtsT2MaxDensity_m3 != load_parameter("wgtsT2MaxDensity_m3")) {
|
||||
cout<<"Warning while loading populations: wgtsT2MaxDensity_m3 missmatch.\n";
|
||||
@@ -201,10 +200,6 @@ void Population_Load_Saver::check_katrin_T2_line(ifstream *load_stream) {
|
||||
if ( wgtsTemp_K != load_parameter("wgtsTemp_K")) {
|
||||
cout<<"Warning while loading populations: wgtsTemp_K missmatch.\n";
|
||||
}
|
||||
*load_stream>>wgtsT2FlowSpeed_ms;
|
||||
if ( wgtsT2FlowSpeed_ms != load_parameter("wgtsT2FlowSpeed_ms")) {
|
||||
cout<<"Warning while loading populations: wgtsT2FlowSpeed_ms missmatch.\n";
|
||||
}
|
||||
goto_nextline(load_stream);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,6 @@ class Thermal_Population : public Population_Base, private RNG_Base, public WGTS
|
||||
Timer *timer;
|
||||
|
||||
static const double wgtsTemp_K;
|
||||
static const double wgtsT2FlowSpeed_ms;
|
||||
|
||||
double m_eV;
|
||||
|
||||
@@ -42,7 +41,6 @@ public:
|
||||
|
||||
|
||||
const double Thermal_Population::wgtsTemp_K = load_parameter("wgtsTemp_K");
|
||||
const double Thermal_Population::wgtsT2FlowSpeed_ms = load_parameter("wgtsT2FlowSpeed_ms");
|
||||
|
||||
|
||||
inline Thermal_Population::Thermal_Population(species this_species, Timer *timer, UniRNG *rngUni, NormalRNG *rngNormal, int num_z_bins, int num_r_bins, int num_phi_bins) : Population_Base(this_species), RNG_Base(rngUni, rngNormal), WGTS_Kinematics(rngUni, rngNormal), container(num_z_bins, num_r_bins, num_phi_bins, 1) {
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
|
||||
class WGTS_Kinematics {
|
||||
static const double wgtsTemp_K;
|
||||
static const double wgtsT2FlowSpeed_ms;
|
||||
|
||||
Velocity_Container v_data;
|
||||
|
||||
@@ -40,7 +39,6 @@ private:
|
||||
};
|
||||
|
||||
const double WGTS_Kinematics::wgtsTemp_K = load_parameter("wgtsTemp_K");
|
||||
const double WGTS_Kinematics::wgtsT2FlowSpeed_ms = load_parameter("wgtsT2FlowSpeed_ms");
|
||||
|
||||
|
||||
#endif /* wgts_kinematics_h */
|
||||
|
||||
Reference in New Issue
Block a user