Removed decrease density, because already taken into account by initial particle simulation.

This commit is contained in:
Christian
2019-10-21 10:42:43 +02:00
parent 3ddf92fd75
commit 03cfdc606b
17 changed files with 13 additions and 52 deletions
+2 -3
View File
@@ -79,8 +79,7 @@ void Population_Load_Saver::write_species(ofstream *save_stream, species this_sp
for (int i_E = 0; i_z<cont->E_scale.get_number_bins(); i_z++) {
int bin = cont->calc_data_bin(Bins{i_z, i_r, i_phi}, i_E);
*save_stream<<i_z<<"\t"<<i_r<<"\t"<<i_phi<<"\t"<<i_E<<"\t";
*save_stream<<cont->cum_times_s[bin]<<"\t";
*save_stream<<cont->offsets[bin]<<"\n";
*save_stream<<cont->cum_times_s[bin]<<"\n";
}
}
}
@@ -243,7 +242,7 @@ void Population_Load_Saver::load_species(ifstream *load_stream, species add_spec
ss<<"Population_Load_Saver::load_species: Input Data bin missmatch.\n";
throw MyException(ss.str());
}
*load_stream>>cont->cum_times_s[i]>>cont->offsets[i];
*load_stream>>cont->cum_times_s[i];
}
string end_of_species;
*load_stream>>end_of_species;