Changed Population Container -> more precice calculation of time in cells.
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
#include "population_builder.hpp"
|
||||
|
||||
class Population_Load_Saver {
|
||||
std::vector <species> all_species;
|
||||
Population_Manager *populations;
|
||||
Timer *timer;
|
||||
|
||||
@@ -21,12 +20,6 @@ public:
|
||||
Population_Load_Saver(Population_Manager *populations, Timer *timer) {
|
||||
this->populations = populations;
|
||||
this->timer = timer;
|
||||
|
||||
all_species.push_back(electron);
|
||||
all_species.push_back(tritium);
|
||||
all_species.push_back(tritiumI);
|
||||
all_species.push_back(tritium2I);
|
||||
all_species.push_back(tritium3I);
|
||||
}
|
||||
|
||||
void save();
|
||||
@@ -34,7 +27,7 @@ private:
|
||||
std::string get_save_path();
|
||||
void write_overhead(std::ofstream *save_stream);
|
||||
void write_species(std::ofstream *save_stream, species this_species);
|
||||
|
||||
int calc_number();
|
||||
|
||||
public:
|
||||
void load();
|
||||
@@ -50,10 +43,4 @@ private:
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* population_load_saver_hpp */
|
||||
|
||||
Reference in New Issue
Block a user