"Process {}: generator done. Ran {} systems with a total probability of {}. This thread had {} failing systems with a total probability of {}".format(ID,number_of_systems_run,probability_of_systems_run,self.grid_options["_failed_count"],self.grid_options["_failed_prob"]),
self.grid_options["verbosity"],
0,
)
returnoutput_dict
def_evolve_population_mp(self):
@@ -1132,6 +1148,7 @@ class Population:
# TODO: add centering center left right for the spacing.
# TODO: add sensible description to this function.
# TODO: Check whether all the probability and phasevol values are correct.
# TODO: import only the necessary packages/functions
Results in a generated file that contains a system_generator function.
"_total_starcount":0,# Total count of systems in this generator
"_probtot":0,# total probability
"_weight":1.0,# weighting for the probability
"_repeat":1.0,# number of times to repeat each system (probability is adjusted to be 1/repeat)
"weight":1.0,# weighting for the probability
"repeat":1,# number of times to repeat each system (probability is adjusted to be 1/repeat)
"results":{},# dict to store the results. Every process fills this on its own and then it will be joined later
"_start_time_evolution":0,# Start time of the grid
"_end_time_evolution":0,# end time of the grid
@@ -466,8 +466,8 @@ grid_options_descriptions = {
"slurm":"Int flag whether to use a slurm type population evolution.",# TODO: describe this in more detail
"population_type":"variable storing what kind of population type should be evolved. See population_type_options for the options.",# TODO: make this functionality work properly
"_population_type_options":"List storing the population_type options.",
"_weight":"Weight factor for each system. The calculated probability is mulitplied by this. If the user wants each system to be repeated several times, then this variable should not be changed, rather change the _repeat variable instead, as that handles the reduction in probability per system. This is useful for systems that have a process with some random element in it.",# TODO: add more info here, regarding the evolution splitting.
"_repeat":"Factor of how many times a system should be repeated. Consider the evolution splitting binary_c argument for supernovae kick repeating.",# TODO: make sure this is used.
"weight":"Weight factor for each system. The calculated probability is mulitplied by this. If the user wants each system to be repeated several times, then this variable should not be changed, rather change the _repeat variable instead, as that handles the reduction in probability per system. This is useful for systems that have a process with some random element in it.",# TODO: add more info here, regarding the evolution splitting.
"repeat":"Factor of how many times a system should be repeated. Consider the evolution splitting binary_c argument for supernovae kick repeating.",# TODO: make sure this is used.
"evolution_type":"Variable containing the type of evolution used of the grid. Multiprocessing or linear processing",