Added "Population Calculation" Mode, where Particles are not logged and different communication rate between CPUs can be set to calculate equilibrium population densities in the beginning.
This commit is contained in:
@@ -40,7 +40,7 @@ std::string get_species_string(const species &spec) {
|
||||
return res;
|
||||
}
|
||||
|
||||
std::vector<species> get_all_spieces_vector() {
|
||||
std::vector<species> get_all_species_vector() {
|
||||
std::vector<species> all;
|
||||
all.push_back(electron);
|
||||
all.push_back(tritium);
|
||||
@@ -52,7 +52,7 @@ std::vector<species> get_all_spieces_vector() {
|
||||
};
|
||||
|
||||
species get_species_from_string(const std::string &species_string) {
|
||||
std::vector<species> all = get_all_spieces_vector();
|
||||
std::vector<species> all = get_all_species_vector();
|
||||
for (std::vector<species>::iterator itr = all.begin(); itr!= all.end(); itr++) {
|
||||
if (get_species_string(*itr) == species_string) {
|
||||
return *itr;
|
||||
|
||||
Reference in New Issue
Block a user