WriteFileAndCheck
-
class WriteFileAndCheck : public feasst::Action
Write a file with the name of prefix + sim + suffix. Then, write an empty output_file if all sim of a given num_sim files are present. This can be used to terminate a simulation after all simulations in a group are finished.
Arguments
sim: the index of the simulation starting with 0 to num_sims - 1.
file_prefix: the beginning of the file name.
file_suffix: the end of the file name.
sim_start: the index of the first simulation of joint termination group.
sim_end: the index of the last simulation of joint termination group.
output_file: the name of the file written if all sim files are present.