Rename to max_surface_particles

This commit is contained in:
AI-Pranto 2021-02-25 10:46:57 +06:00
parent e2842cfef3
commit a6144a4ab8
9 changed files with 21 additions and 21 deletions

View file

@ -101,7 +101,7 @@ RunMode run_mode {RunMode::UNSET};
std::unordered_set<int> sourcepoint_batch;
std::unordered_set<int> statepoint_batch;
std::unordered_set<int> source_write_surf_id;
int64_t max_particles;
int64_t max_surface_particles;
TemperatureMethod temperature_method {TemperatureMethod::NEAREST};
double temperature_tolerance {10.0};
double temperature_default {293.6};
@ -655,8 +655,8 @@ void read_settings_xml()
}
// Get maximum number of particles to be banked per surface
if (check_for_node(node_ssw, "max_particles")) {
max_particles = std::stoi(get_node_value(node_ssw, "max_particles"));
if (check_for_node(node_ssw, "max_surface_particles")) {
max_surface_particles = std::stoi(get_node_value(node_ssw, "max_surface_particles"));
}
}